weblogic.common.internal.VersioningError: No WebLogic packages defined in CLASSPATH [clientgen]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 666705, 1 year ago
No WebLogic packages defined in CLASSPATH [clientgen]
via Oracle Community by 666705, 1 year ago
via Oracle Community by 666705, 1 year ago
No WebLogic packages defined in CLASSP ATH
via Google Groups by Alfonso Wong, 2 years ago
Cannot read manifests from CLASSPATH: invalid manifest format
via Oracle Community by 3004, 1 year ago
Cannot read manifests from CLASSPATH: invalid manifest format
via Google Groups by Denero, 2 years ago
No WebLogic packages defined in CLASSP ATH
weblogic.common.internal.VersioningError: No WebLogic packages defined in CLASSPATH [clientgen]
at weblogic.common.internal.VersionInfo.(VersionInfo.java:46)
at weblogic.common.internal.VersionInfo.initialize(VersionInfo.java:127)
at weblogic.common.internal.VersionInfo.theOne(VersionInfo.java:98)
at weblogic.version.getBuildVersion(version.java:17)
at weblogic.utils.compiler.CodeGenerator.buildString(CodeGenerator.java:801)
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:324)
at weblogic.utils.compiler.CodeGenerator.processAt(CodeGenerator.java:648)
at weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:562)
at weblogic.utils.compiler.CodeGenerator.parse(CodeGenerator.java:519)
at weblogic.utils.compiler.CodeGenerator.generateCode(CodeGenerator.java:336)
at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:238)
at weblogic.xml.schema.binding.internal.codegen.Compiler.generate(Compiler.java:606)
at weblogic.xml.schema.binding.internal.codegen.Compiler.compile_descriptors(Compiler.java:332)
at weblogic.xml.schema.binding.internal.codegen.Compiler.compile(Compiler.java:284)
at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.addTypesInSchemas(XSDTypeMappingBuilder.java:140)
at weblogic.xml.schema.binding.internal.TypeMappingBuilderBase.processSchemaTypes(TypeMappingBuilderBase.java:310)
at weblogic.webservice.tools.build.internal.Schema2JavaImpl.doTypeMapping(Schema2JavaImpl.java:297)
at weblogic.webservice.tools.build.internal.Schema2JavaImpl.run(Schema2JavaImpl.java:187)
at weblogic.webservice.tools.build.internal.WSDL2JavaImpl.run(WSDL2JavaImpl.java:240)
at weblogic.webservice.tools.build.internal.ClientGenImpl.getTypeMappingFromWSDL(ClientGenImpl.java:742)
at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromWsdl(ClientGenImpl.java:415)
at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.java:343)
at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doClientGen(ClientGenTask.java:352)
at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenTask.java:208)
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.Main.start(Main.java:150)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.