Skip to Content
author's profile photo Former Member
Former Member

CE 7.1 com.sun.tools.javac.code.Symbol$CompletionFailure in EJB 3.0

Hi,

I am getting following error when building the web DC project which has dependency on ejb DC which contains an EJB which as been exposed as a webservice.

I have add the annotation for authentication on the EJB

@AuthenticationDT(authenticationLevel=AuthenticationEnumsAuthenticationLevel.BASIC)

EJB builds fine but when building the web project project which is having the EJB as used DC (requried DC) than I get the following error on DC build of web project

[javac] Compiling 40 source files to C:\Documents and Settings\l9nf9t\workspace.jdi\7\t\252D83768BE80175494A96DC42BADBEB\classes

[javac] An exception has occurred in the compiler (1.5.0_16). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.

[javac] com.sun.tools.javac.code.Symbol$CompletionFailure: file com\sap\engine\services\webservices\espbase\configuration\ann\dt\AuthenticationDT.class not found

Error: C:\Documents and Settings\l9nf9t\workspace.jdi\7\t2\252D83768BE80175494A96DC42BADBEB\default\logs\build.xml:92: Compile failed; see the compiler error output for details.

at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:933)

at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

at org.apache.tools.ant.Task.perform(Task.java:364)

at org.apache.tools.ant.Target.execute(Target.java:341)

at org.apache.tools.ant.Target.performTasks(Target.java:369)

at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)

at org.apache.tools.ant.Project.executeTarget(Project.java:1185)

at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:114)

at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:57)

at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:196)

at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:168)

at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)

at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:403)

at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:149)

at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:87)

at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:59)

at com.sap.tc.devconf.internal.DCProxyMake.make(DCProxyMake.java:301)

at com.sap.tc.devconf.internal.DCProxy.make(DCProxy.java:1339)

at com.sap.tc.devconf.internal.DCProxy.make(DCProxy.java:3637)

at com.sap.ide.dii05.lib.internal.commands.dc.BuildJob.build(BuildJob.java:376)

at com.sap.ide.dii05.lib.internal.commands.dc.BuildJob.doInWorkerThread(BuildJob.java:190)

at com.sap.ide.dii05.util.api.job.JdiJob$1.doInWorkerThread(JdiJob.java:77)

at com.sap.ide.dii05.util.internal.job.InternalJdiJob$3$1.run(InternalJdiJob.java:198)

at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)

at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1779)

at com.sap.ide.dii05.util.internal.job.InternalJdiJob$3.run(InternalJdiJob.java:207)

at com.sap.ide.dii05.util.internal.job.BusyBackgroundIndicator.showWhile(BusyBackgroundIndicator.java:74)

at com.sap.ide.dii05.util.internal.job.InternalJdiJob.internalRun(InternalJdiJob.java:188)

at com.sap.ide.dii05.util.internal.job.InternalDiiJob.runInternal(InternalDiiJob.java:305)

at com.sap.ide.dii05.util.internal.job.InternalDiiJob.runR(InternalDiiJob.java:203)

at com.sap.ide.dii05.util.internal.job.InternalDiiJob.run(InternalDiiJob.java:191)

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

I tried to explicitly add the jar file in the build class path but still getting the error. Any idea. Please suggest.

Thanks

Manoj

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Oct 28, 2010 at 01:55 AM

    have you added that class to the public part of the jee dc?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 12, 2011 at 02:04 PM

    Hi Manoj,

    I have the same problem only with another class. In my case it is WebService.class.

    So my question is: do you solve your problem and if yes, what have you done?

    Thanks for a answer.

    Regards Alex

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.