Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Issue in running ant script

852079Mar 31 2011 — edited Mar 31 2011
Hi,

I am facing some strange issue in building ear file

can some please help me understand what is the issue.

Here is the Error StackTrace

[wlcompile] [JAM] Warning: failed to resolve class BaseDaoSupport
[wlcompile] [JAM] Warning: failed to resolve class TestCase
[wlcompile] [JAM] Warning: failed to resolve class BaseDaoSupport
[wlcompile] [JAM] Error: unexpected exception thrown:
[wlcompile] com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing f
ailure in C:\testDomain\CustomerShoppingBagDomain.java at line 64. Most likely, an
annotation is declared whose type has not been imported.
[wlcompile] at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_15
0.getAnnotationTypeFor(JavadocTigerDelegateImpl_150.java:410)
[wlcompile] at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_15
0.extractAnnotations(JavadocTigerDelegateImpl_150.java:176)
[wlcompile] at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_15
0.extractAnnotations(JavadocTigerDelegateImpl_150.java:152)
[wlcompile] at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.addAnno
tations(JavadocClassBuilder.java:404)
[wlcompile] at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.populat
e(JavadocClassBuilder.java:216)
[wlcompile] at com.bea.util.jam.internal.elements.ClassImpl.ensureLoaded(Cla
ssImpl.java:725)
[wlcompile] at com.bea.util.jam.internal.elements.ClassImpl.getAnnotation(Cl
assImpl.java:394)
[wlcompile] at weblogic.application.utils.AnnotationDetector.hasAnnotation(A
nnotationDetector.java:172)
[wlcompile] at weblogic.application.utils.AnnotationDetector.hasAnnotatedSou
rces(AnnotationDetector.java:163)
[wlcompile] at weblogic.ejb.spi.EJBJarUtils.hasEJBSources(EJBJarUtils.java:3
5)
[wlcompile] at weblogic.ant.taskdefs.build.module.EJBModuleFactory.claim(EJB
ModuleFactory.java:48)
[wlcompile] at weblogic.ant.taskdefs.build.module.ModuleFactory.createModule
s(ModuleFactory.java:76)
[wlcompile] at weblogic.ant.taskdefs.build.Application.build(Application.jav
a:59)
[wlcompile] at weblogic.ant.taskdefs.build.WLCompileTask.privateExecute(WLCo
mpileTask.java:194)
[wlcompile] at weblogic.ant.taskdefs.build.WLCompileTask.execute(WLCompileTa
sk.java:160)
[wlcompile] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:288)
[wlcompile] at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
[wlcompile] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[wlcompile] at java.lang.reflect.Method.invoke(Method.java:597)
[wlcompile] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
tils.java:105)
[wlcompile] at org.apache.tools.ant.Task.perform(Task.java:348)
[wlcompile] at org.apache.tools.ant.Target.execute(Target.java:357)
[wlcompile] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[wlcompile] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1329)
[wlcompile] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarget
s(SingleCheckExecutor.java:38)
[wlcompile] at org.apache.tools.ant.Project.executeTargets(Project.java:1181
)
[wlcompile] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[wlcompile] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.j
ava:105)
[wlcompile] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:288)
[wlcompile] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

any help would be grealty appricated.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 28 2011
Added on Mar 31 2011
1 comment
244 views