weblogic.wsee.tools.jws.build.CompileException

Error compiling web service: C:\dev\javadev\R21Frame\R21\src\java\src\com\Test.java

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Unknown by 666705,
  • via Unknown by 666705,
  • Stack trace

    • weblogic.wsee.tools.jws.build.CompileException: Error compiling web service: C:\dev\javadev\R21Frame\R21\src\java\src\com\Test.java at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:189) 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 org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.apache.tools.ant.Main.runBuild(Main.java:668) at org.apache.tools.ant.Main.startAnt(Main.java:187) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) Caused by: weblogic.wsee.tools.jws.build.CompileException: Error compiling web service: C:\dev\javadev\R21Frame\R21\src\java\src\com\Test.java at weblogic.wsee.tools.jws.build.JwsCompiler.buildWebServices(JwsCompiler.java:470) at weblogic.wsee.tools.jws.build.JwsCompiler.compile(JwsCompiler.java:438) at weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:289) at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:219) at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:182) ... 12 more Caused by: weblogic.wsee.tools.WsBuildException: Failed to write wsdl at weblogic.wsee.tools.jws.WebServiceWriter.process(WebServiceWriter.java:43) at weblogic.wsee.tools.jws.process.CompositeProcessor.process(CompositeProcessor.java:36) at weblogic.wsee.tools.jws.build.JwsCompiler.buildWebServices(JwsCompiler.java:466) ... 16 more Caused by: java.lang.ClassCastException: com.bea.xbean.store.Xobj$ElementXobj at org.apache.crimson.tree.XmlDocument.importNode(XmlDocument.java:1260) at weblogic.wsee.wsdl.WsdlSchema.write(WsdlSchema.java:131) at weblogic.wsee.wsdl.WsdlTypes.write(WsdlTypes.java:232) at weblogic.wsee.wsdl.WsdlDefinitions.write(WsdlDefinitions.java:634) at weblogic.wsee.wsdl.WsdlDefinitions.toDocument(WsdlDefinitions.java:597) at weblogic.wsee.wsdl.WsdlDefinitions.write(WsdlDefinitions.java:573) at weblogic.wsee.wsdl.WsdlDefinitions.writeToFile(WsdlDefinitions.java:536) at weblogic.wsee.tools.jws.WebServiceWriter.writeWsdl(WebServiceWriter.java:112) at weblogic.wsee.tools.jws.WebServiceWriter.process(WebServiceWriter.java:33) ... 18 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.