Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem adding libraries to a JSF project using NETBEANS 5.5 (App serv 9.0)

807599Apr 2 2007 — edited Jun 30 2008
Hi everybody,

I am developing a web application in JSF, usign application server 9.0
update 1.
It works fine till I add 2 libraries, 2 .jar files in the project
properties.
I have to add these 2 libraries because I want to add some specific
controls on the JSF page. The libraries I am trying to add are:

1) tomahawk-1.1.3.jar
2) tomahawk-sandbox-1.1.5-SNAPSHOT.jar

The application deploys in the server, but when I launch it I get this
error in the browser:

"HTTP Status 404 -
description The requested resource () is not available. "

And this is the error message I get on the server log:

"Message ID:

WebModule[PMA]Exception sending context initialized event to listener
instance of class com.sun.faces.config.ConfigureListener
java.lang.NoClassDefFoundError "

If I remove the libraries, rebuild and redeploy the application again
it works fine.
Any ideas how to make these libraries work on my project?

Thanks for reading.

Gabriele
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 28 2008
Added on Apr 2 2007
6 comments
798 views