How to use RTC Plain Java API in webservices?
This Web axisService has deployment faults
Error: java.lang.NoClassDefFoundError: com/ibm/team/repository/common/TeamRepositoryException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.Accepted answer
I just replied to a post that I've been using the Java API in a Apache Tomcat environment. I deploy a war file and all the required libraries are in the WebContent/WEB-INF/lib folder of the package.
Comments
Thanks Kevin for your feedback. I am planing to use Apache Tomcat.
We are trying to develop a we based app using RTC API's. At present it's only in the starting phase and I am trying to find the compatibility of these API's and that's when I got the aforementioned errors.
We are planning to use Eclipse + Tomcat
Since you say it;s possible it would be great if you could share some more light on this topic regarding the setup
Many thanks once again.
Karthik,
As an IBM-er, I am spoiled in that I can get Rational Application Developer and I haven't used "bare" Eclipse in a while. One way to start would be to create a new "Dynamic Web Project" in Eclipse (if the supporting plugins are in your Eclipse). Creating that project type will put down the rudiments of the web application structure.
Eclipse.org has "Eclipse IDE for Java EE Developers"
http://www.eclipse.org/downloads/
1 vote
Thanks Kevin.
I already have configured eclipse & Tomcat. My main point is do you think adding the RTC plain java jars to the WebContent/WEB-INF/lib be sufficient?
Karthik,
Most definitely !
1 vote