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 Java 8 in Action this week in the Java 8 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: 1391
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: 860

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: 12682
    
    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

Java Resources at www.wbrogden.com
Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1391
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: 860

@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
 
Similar Threads
filters
Displaytag Data Export Problem with Struts2
ClassCastException when starting Tomcat with Struts2 Filter
Invalid content taglib
The requested resource () is not available.