I recently had a build that was working fine start failing, and I'm wondering if there were changes to maven-ejb-module that might be causing me problems, and if so, what to do about them.
I'm compiling for EJB 2.0 with JDK v1.4. The build process has been working fine, but recently when I rand the compile, I had the following happen: [INFO] [ejb:ejb] [INFO] Building ejb surveillance-ejb-3.5.1.i with ejbVersion 2.1 [INFO] Building jar: C:\development\AuditTrail_GTC\AuditTrailSearch\surveillance -ejb\target\surveillance-ejb-3.5.1.i.jar [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] java.lang.Boolean.parseBoolean(Ljava/lang/String;)Z [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.NoSuchMethodError: java.lang.Boolean.parseBoolean(Ljava/lang/String;)Z It's building for EJB v2.1, and is constructing code using JDK v1.5 methods (Boolean.parseBoolean()). I looked in the archives, and found the discussion of the <ejbVersion> tag, which I set to 2.0. After doing so, I see the following: [INFO] [ejb:ejb] [INFO] Building ejb surveillance-ejb-3.5.1.i with ejbVersion 2.0 [INFO] Building jar: C:\development\AuditTrail_GTC\AuditTrailSearch\surveillance -ejb\target\surveillance-ejb-3.5.1.i.jar [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] java.lang.Boolean.parseBoolean(Ljava/lang/String;)Z So it appears to understand I want to build 2.0 EJBs, but is still using the Java 1.5 constructs. Any pointers on what I need to add/change to get this back to working? Thanks! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
