axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bret Cole (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Commented: (AXIS-2779) re-create the java files in the "stub"
Date Mon, 27 Apr 2009 23:25:30 GMT

    [ https://issues.apache.org/jira/browse/AXIS-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12703434#action_12703434
] 

Bret Cole commented on AXIS-2779:
---------------------------------

I had the same issue after installing the latest AXIS.  The problem was that in the docs,
the %axisclasspath% did not have the version numbers for commons-discovery.jar (mine should
have been commons-discovery-0.2.jar for example) and commons-logging.jar.  I also found I
was missing wsdl4j-1.5.1.jar in my axisclasspath.   Basically do a directory of %AXIS_HOME%\lib
and make sure your axisclasspath file names match all the jar files in that directory.   

> re-create the java files in the "stub" 
> ---------------------------------------
>
>                 Key: AXIS-2779
>                 URL: https://issues.apache.org/jira/browse/AXIS-2779
>             Project: Axis
>          Issue Type: Task
>         Environment: window xp
>            Reporter: Charles
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> I've search the site, but could not find this error:
> Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.commons.logging.LogFactory
>         at org.apache.axis.components.logger.LogFactory.class$(LogFactory.java:45)
>         at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41)
>         at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)
>         at org.apache.axis.i18n.ProjectResourceBundle.<clinit>(ProjectResourceBundle.java:53)
>         at org.apache.axis.i18n.MessagesConstants.<clinit>(MessagesConstants.java:32)
>         at org.apache.axis.utils.Messages.<clinit>(Messages.java:36)
>         at org.apache.axis.wsdl.WSDL2Java.<clinit>(WSDL2Java.java:112)
> Could not find the main class: org.apache.axis.wsdl.WSDL2Java.  Program will exit.
> I am trying to use fedex webservices and follow the sample on re-create the java files
in the "stub" package for each project
> java org.apache.axis.wsdl.WSDL2Java -w -p com.fedex.ship.stub:\projects\wsdl\ShipService.wsdl
> the above is the error message I am getting...
> can anyone help me with this error.
> Thanks

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message