[ https://issues.apache.org/jira/browse/DAYTRADER-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Forrest Xia closed DAYTRADER-64. -------------------------------- Resolution: Fixed Patch available to daytrader trunk 2.2 snapshot, please someone help review and commit before 2.2 release. thanks! > OpenJPA PCEnhancer ant task failure cause Full EJB3 runtime mode failure > ------------------------------------------------------------------------ > > Key: DAYTRADER-64 > URL: https://issues.apache.org/jira/browse/DAYTRADER-64 > Project: DayTrader > Issue Type: Bug > Components: EJB Tier > Environment: JDK 1.6 > OpenJPA 1.2.0 > Reporter: Forrest Xia > Assignee: Forrest Xia > Attachments: daytraderejbmodule.pom.patch > > > Daytrader 2.2-snapshot EJB module build failure cause of missing some > dependency package. > The failure exception like: > [INFO] [antrun:run {execution: default}] > [INFO] Executing tasks > [java] java.lang.NoClassDefFoundError: serp.bytecode.Instruction > [java] at > org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:180) > [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:710) > [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178) > [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:84) > [java] at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) > [java] at org.apache.tools.ant.Task.perform(Task.java:364) > [java] at org.apache.tools.ant.Target.execute(Target.java:341) > [java] at > org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:108) > [java] at > org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83) > [java] at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) > [java] at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) > [java] at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) > [java] at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) > [java] at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) > [java] at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) > [java] at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) > [java] at > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) > [java] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) > [java] at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) > [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [java] at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45) > [java] at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) > [java] at java.lang.reflect.Method.invoke(Method.java:599) > [java] at > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > [java] at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > [java] at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > [java] at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > [java] Caused by: java.lang.NoClassDefFoundError: > serp.bytecode.Instruction > [java] at java.lang.J9VMInternals.verifyImpl(Native Method) > [java] at java.lang.J9VMInternals.verify(J9VMInternals.java:72) > [java] at java.lang.J9VMInternals.initialize(J9VMInternals.java:134) > [java] at java.lang.Class.forNameImpl(Native Method) > [java] at java.lang.Class.forName(Class.java:169) > [java] at > org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:119) > [java] ... 26 more > [java] Caused by: java.lang.ClassNotFoundException: > serp.bytecode.Instruction > [java] at > org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1166) > [java] at > org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1107) > [java] at > org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:983) > [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:609) > [java] ... 32 more > [java] --- Nested Exception --- > [java] java.lang.NoClassDefFoundError: serp.bytecode.Instruction > [java] at java.lang.J9VMInternals.verifyImpl(Native Method) > [java] at java.lang.J9VMInternals.verify(J9VMInternals.java:72) > [java] at java.lang.J9VMInternals.initialize(J9VMInternals.java:134) > [java] at java.lang.Class.forNameImpl(Native Method) > [java] at java.lang.Class.forName(Class.java:169) > [java] at > org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:119) > [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:710) > [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178) > [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:84) > [java] at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) > [java] at org.apache.tools.ant.Task.perform(Task.java:364) > [java] at org.apache.tools.ant.Target.execute(Target.java:341) > [java] at > org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:108) > [java] at > org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83) > [java] at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) > [java] at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) > [java] at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) > [java] at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) > [java] at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) > [java] at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) > [java] at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) > [java] at > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) > [java] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) > [java] at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) > [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [java] at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45) > [java] at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) > [java] at java.lang.reflect.Method.invoke(Method.java:599) > [java] at > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > [java] at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > [java] at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > [java] at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > [java] Caused by: java.lang.ClassNotFoundException: > serp.bytecode.Instruction > [java] at > org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1166) > [java] at > org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1107) > [java] at > org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:983) > [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:609) > [java] ... 32 more > [INFO] Executed tasks -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.