The following comment has been added to this issue: Author: Heiko W. Rupp Created: Wed, 26 Jan 2005 1:10 PM Body: Hi, do you have axis libraries in the classpath? --------------------------------------------------------------------- View this comment: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1245?page=comments#action_15774
--------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1245 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-1245 Summary: ClassCast Exceptioni n WSEE Type: Bug Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: XDoclet Components: Web Services Module Versions: 1.2 Assignee: xdoclet-devel (Use for new issues) Reporter: Gurprit Created: Tue, 25 Jan 2005 2:29 AM Updated: Wed, 26 Jan 2005 1:10 PM Environment: Windows XP, Apache Ant1.6.2 Description: I use the latest xdoclet (1.2 ) task definitions in my build.xml. When i run Wsee Task on Build.xml it throws ClassCastException. The log printed on Console is It doesn't provide any information on the cause of the exception. genetrate.wsee: [wseedoclet] java.lang.ClassCastException [wseedoclet] at xdoclet.modules.wsee.JaxrpcMappingSubTask.validateOptions (JaxrpcMappingSubTask.java:53) [wseedoclet] at xdoclet.DocletTask.validateSubTasks(DocletTask.java:528) [wseedoclet] at xdoclet.DocletTask.validateOptions(DocletTask.java:493) [wseedoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:94) [wseedoclet] at org.apache.tools.ant.UnknownElement.execute (UnknownElement.java:275) [wseedoclet] at org.apache.tools.ant.Task.perform(Task.java:364) [wseedoclet] at org.apache.tools.ant.Target.execute(Target.java:341) [wseedoclet] at org.apache.tools.ant.Target.performTasks(Target.java:369) [wseedoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1214) [wseedoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1062) [wseedoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run (InternalAntRunner.java:377) [wseedoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main (InternalAntRunner.java:135) BUILD FAILED: C:\java\Workspaces\default\Wrap Tools\build.xml:66: Unexpected error My Bulid.xml is like path id="ant.classpath" description="Specific Ant classpath"> <fileset dir="${ref.lib.dir}"> <!-- add the jars required for building only --> <include name="**/*.jar"/> </fileset> <fileset dir="${xdoclet.lib.dir}"> <!-- add the xdoclet jars --> <include name="**/*.jar"/> </fileset> <fileset dir="${jboss.client}"> <!-- add jboss client files --> <include name="**/*.jar"/> </fileset> <pathelement location="bin"/> <!-- add compiled classes --> </path> <taskdef resource="axis-tasks.properties" classpathref="ant.classpath"/> <taskdef name="wseedoclet" classname="xdoclet.modules.wsee.WseeDocletTask" classpathref="ant.classpath"/> <target name ="genetrate.wsee"> <delete file="${webinf.dir}\webservices.xml"/> <delete file="${webinf.dir}\jaxrpc-mapping.xml"/> <wseedoclet destDir = "${webinf.dir}" wsdlFile = "${wsdl.investment}" force = "true" verbose = "true"> <fileset dir="${src.dir}"> <include name="**/*.java"/> </fileset> <deploymentdescriptor destdir="${webinf.dir}"/> <jaxrpc-mapping destdir="${webinf.dir}"/> </wseedoclet> Please help --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel