aspose file tools*
The moose likes XML and Related Technologies and the fly likes Strange Warnings in XML Doc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Strange Warnings in XML Doc" Watch "Strange Warnings in XML Doc" New topic
Author

Strange Warnings in XML Doc

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1466
    
    1
I am getting many warnings in my xml doc "Unknown Java Type: ..." See commented line below for example.

William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

It cannot find the class on application startup.

Locate it in the jar and ensure it's on the CLASSPATH or web-inf/lib

WP
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12806
    
    5
CLASSPATH is ignored by Tomcat and - I suspect - other servlet containers. If you are working with Tomcat see the class-loader-howto.html file in the docs directory of a typical Tomcat install for the details of where Tomcat looks for class files.

Bill
Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1466
    
    1
William P O'Sullivan wrote:It cannot find the class on application startup.

Locate it in the jar and ensure it's on the CLASSPATH or web-inf/lib

WP


Thanks
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

@William

In JBoss, you can modify jboss-services.xml as in this example:


This allows us to put all vendor endorsed jars such as jdbc drivers etc. in the "classpath"
for all web apps.

You may be correct about Tomcat.

WP
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Strange Warnings in XML Doc