This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 1394
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: 12761
    
    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: 1394
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
The requested resource () is not available.
Displaytag Data Export Problem with Struts2
ClassCastException when starting Tomcat with Struts2 Filter
filters
Invalid content taglib