Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
amandeep.randhawa@gmail.com #1
java.io.IOException: Type Throwable is referenced but not defined
Hi all,
First off i'm a newbie, so the error might not be that well defined,
but here's my best shot.
I'm using an inhouse tool that generates the WSDL from java classes but
when i run it, i get the error
java.io.IOException: Type Throwable is referenced but not defined
Does anyone know how I can make it recoganize the throwable class that
exist in java.lang?
Someone suggested that I declare this class in the server-config.wsdd,
but I dont know how to do that either, any ideas?
Here are the versions -
Apache Ant version 1.6.0 compiled on December 18 2003
Buildfile: build.xml
Detected Java version: 1.3 in: C:\jdk1.3\jre
Detected OS: Windows 2000
and here is the error in detail
[wsdlcreator] [WARN] Types - -The class java.lang.Throwable is defined
in a java
or javax package and cannot be converted into an xml schema type. An
xml schem
a anyType will be used to define this class in the wsdl file.
[wsdlcreator] Exception while producing Java files
[wsdlcreator] java.io.IOException: Type Throwable is referenced but not
defined.
[wsdlcreator] at
org.apache.axis.wsdl.symbolTable.SymbolTable.check ForUndefine
d(SymbolTable.java:522)
[wsdlcreator] at
org.apache.axis.wsdl.symbolTable.SymbolTable.add(S ymbolTable.
java:422)
[wsdlcreator] at
org.apache.axis.wsdl.symbolTable.SymbolTable.popul ate(SymbolT
able.java:408)
[wsdlcreator] at org.apache.axis.wsdl.gen.Parser.run(Parser.java:27 3)
[wsdlcreator] at
org.apache.axis.wsdl.toJava.Emitter.run(Emitter.ja va:402)
[wsdlcreator] at
com.wallstreetsystems.ant.codegen.services.wsdl.WS DLFileProce
ssor.produceJava(WSDLFileProcessor.java:72)
[wsdlcreator] at
com.wallstreetsystems.ant.codegen.services.wsdl.WS DLCreator.e
xecute(WSDLCreator.java:111)
[wsdlcreator] at
org.apache.tools.ant.UnknownElement.execute(Unknow nElement.ja
va:306)
[wsdlcreator] at org.apache.tools.ant.Task.perform(Task.java:401)
[wsdlcreator] at org.apache.tools.ant.Target.execute(Target.java:33 8)
[wsdlcreator] at
org.apache.tools.ant.Target.performTasks(Target.ja va:365)
[wsdlcreator] at
org.apache.tools.ant.Project.executeTarget(Project .java:1237)
[wsdlcreator] at
org.apache.tools.ant.Project.executeTargets(Projec t.java:1094
)
[wsdlcreator] at org.apache.tools.ant.Main.runBuild(Main.java:669)
[wsdlcreator] at org.apache.tools.ant.Main.startAnt(Main.java:220)
[wsdlcreator] at
org.apache.tools.ant.launch.Launcher.run(Launcher. java:215)
[wsdlcreator] at
org.apache.tools.ant.launch.Launcher.main(Launcher .java:90)
Will be grateful for any suggestions.
thanks.
PS: help me group - u'r my only hope. May the force be with you.
amandeep.randhawa@gmail.com Guest
-
java.io.IOException: Parameter is incorrect
I have two intranet websites running on one windows (server 2003) box using IIS and CFMX7. Each site is in a separate folder (?voice? & ?incoming?)... -
java.io.IOException: Too many open files
How can I avoid the error "java.io.IOException: Too many open files" when copying a large number of files? Hint: the correct answer is not to copy... -
Type 'DataGridPageChangedEventArgs' is not defined
In my code-behind page I have this routine. What do I have to do for it to recognize DataGridPageChangedEventArgs? Sub PageIndexChanged(ByVal... -
Type 'ConnectionOptions' is not defined
Hello. I´ve following Problem. I try to use WMI in an ASP.NET Site. But I get still this error: Server Error in '/ServerMon'... -
type AssemblyTitle is not defined
Hi, You are missing an Import to System.Reflaction or reference (not import) to System.Reflaction.Dll. In .Net you must to reference the...



Reply With Quote

