Jump to content
Excelsior Forums
Sign in to follow this  
jpwehbe

Unresolved import dependencies from external jar files

Recommended Posts

Hello,

I am getting unresolved dependencies in some external JAR files that I'm using(for example the js.jar, log4j.jar, ...).  I never had problems when i used to run the application normally (from eclipse).

I can create the installer and run the application in a normal way, but i want to know if these unresolved dependencies will affect my application in some cases.

Any ideas?

Share this post


Link to post
Share on other sites

Hello,

Unresolved import dependencies may result in throwing "NoClassDefFoundError"

at run time if your application tries to access one of the absent classes listed

in the warning message.

The dynamic nature of Java permits using inconsistent jars and classes.

Please note that absent classes may be generated during run time or

"NoClassDefFoundError" may be successfully caught by the Java code.

So unresolved import dependencies don't necessarily mean an error.

The JET Control Panel shows this warning message for you to be sure that

none of the listed classes should be included to your application.?

As for third-party libraries the only option is to ignore the inconsistencies.

You may also file a complaint to vendors of such jars.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×