Can you try instead with IBM JDK 1.5? The version OpenEJB 3.0 was built for Java EE 5 and then requires also the JDK to be 1.5.
As you can see there is a difference in the signature http://docs.oracle.com/javaee/6/api/javax/xml/ws/WebServiceContext.html http://docs.oracle.com/javaee/5/api/javax/xml/ws/WebServiceContext.html Jean-Louis -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro http://www.tomitribe.com On Wed, Mar 11, 2015 at 3:42 PM, Jean-Louis Monteiro < [email protected]> wrote: > Yes, agree, we should being able to rebuild at any time. > Was just curious. :) > > I can recall us adding some additional libraries to the build for IBM JDK > because unlike the SUN/Oracle JDK it does not embedded the same XML parser > and so on. > > Lemme try to find it again. It was probably done after this release. > > -- > Jean-Louis Monteiro > http://twitter.com/jlouismonteiro > http://www.tomitribe.com > > On Wed, Mar 11, 2015 at 3:13 PM, Zhi Xie <[email protected]> wrote: > >> In geronimo community, someone has opened a jira about failing to build >> openejb-core. The version is openejb-3.0-beta-2. I tried to build it by >> myself and met the error above. It is very old indeed. But it is a tag. I >> think it should work whenever we build it in correct way. >> >> 2015-03-11 20:17 GMT+08:00 Jean-Louis Monteiro <[email protected] >> >: >> >> > Ouch, that one is very very old. >> > Is there any reason why you want to build this version? >> > >> > -- >> > Jean-Louis Monteiro >> > http://twitter.com/jlouismonteiro >> > http://www.tomitribe.com >> > >> > On Wed, Mar 11, 2015 at 10:57 AM, Zhi Xie <[email protected]> wrote: >> > >> > > I got the openejb-3.0-beta-2 source code from >> > > http://svn.apache.org/repos/asf/tomee/openejb/tags/openejb-3.0-beta-2 >> > > when I build open-core by maven 2.2.1 and IBM JDK 1.6 in win7, I meet >> the >> > > error below. >> > > >> > > [INFO] [compiler:compile {execution: default-compile}] >> > > [INFO] Compiling 470 source files to >> > > >> > > >> > >> e:\svnworkspace\tomee\openejb\tag\openejb-3.0-beta-2\container\openejb-core\target\classes >> > > [INFO] >> > > >> ------------------------------------------------------------------------ >> > > [ERROR] BUILD FAILURE >> > > [INFO] >> > > >> ------------------------------------------------------------------------ >> > > [INFO] Compilation failure >> > > >> > > >> > > >> > >> e:\svnworkspace\tomee\openejb\tag\openejb-3.0-beta-2\container\openejb-core\src\main\java\org\apache\openejb\core\stateless\EjbWsContext.java:[27,7] >> > > o >> > > rg.apache.openejb.core.stateless.EjbWsContext is not abstract and does >> > not >> > > override abstract method >> > <T>getEndpointReference(java.lang.Class<T>,org.w3c >> > > .dom.Element...) in javax.xml.ws.WebServiceContext >> > > >> > > >> > > >> > >> e:\svnworkspace\tomee\openejb\tag\openejb-3.0-beta-2\container\openejb-core\src\main\java\org\apache\openejb\core\webservices\ProviderWrapper.java:[53 >> > > ,7] org.apache.openejb.core.webservices.ProviderWrapper is not >> abstract >> > and >> > > does not override abstract method >> > createW3CEndpointReference(java.lang.Str >> > > >> > > >> > >> ing,javax.xml.namespace.QName,javax.xml.namespace.QName,java.util.List<org.w3c.dom.Element>,java.lang.String,java.util.List<org.w3c.dom.Element>) >> > > in j >> > > avax.xml.ws.spi.Provider >> > > >> > > >> > > >> > >> e:\svnworkspace\tomee\openejb\tag\openejb-3.0-beta-2\container\openejb-core\src\main\java\org\apache\openejb\core\webservices\ProviderWrapper.java:[12 >> > > 9,12] >> > > >> > >> org.apache.openejb.core.webservices.ProviderWrapper.ServiceDelegateWrapper >> > > is not abstract and does not override abstract method createDispatch( >> > > >> > > >> > >> javax.xml.ws.EndpointReference,javax.xml.bind.JAXBContext,javax.xml.ws.Service.Mode,javax.xml.ws.WebServiceFeature...) >> > > in javax.xml.ws.spi.ServiceDele >> > > gate >> > > >> > > >> > > [INFO] >> > > >> ------------------------------------------------------------------------ >> > > [INFO] Trace >> > > org.apache.maven.BuildFailureException: Compilation failure >> > > at >> > > >> > > >> > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715) >> > > at >> > > >> > > >> > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) >> > > at >> > > >> > > >> > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) >> > > at >> > > >> > > >> > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) >> > > at >> > > >> > > >> > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) >> > > at >> > > >> > > >> > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) >> > > at >> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) >> > > at >> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) >> > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) >> > > at >> > > >> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) >> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> > > at >> > > >> > > >> > >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) >> > > at >> > > >> > > >> > >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> > > at java.lang.reflect.Method.invoke(Method.java:600) >> > > at >> > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >> > > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> > > at >> > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> > > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> > > Caused by: org.apache.maven.plugin.CompilationFailureException: >> > Compilation >> > > failure >> > > at >> > > >> > > >> > >> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516) >> > > at >> > > org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114) >> > > at >> > > >> > > >> > >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) >> > > at >> > > >> > > >> > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) >> > > ... 17 more >> > > [INFO] >> > > >> ------------------------------------------------------------------------ >> > > [INFO] Total time: 7 seconds >> > > [INFO] Finished at: Wed Mar 11 17:54:56 CST 2015 >> > > [INFO] Final Memory: 52M/152M >> > > >> > > I have searched some cases like it. >> > > >> > >> http://tomee-openejb.979440.n4.nabble.com/error-during-build-td987133.html >> > > >> > > Is it still an issue in openejb-3.0-beta-2? >> > > -- >> > > Best Regards >> > > Gary >> > > >> > >> >> >> >> -- >> Best Regards >> Gary >> > >
