简体   繁体   中英

EJB cannot find Java class library

Hello i tried to develop a EJB Application using Java class library project that contains a remote interface for the session bean. I used this tutorial

When i try to run my EJB i get an exception saying

java.lang.IllegalArgumentException: Specified library jar Remote.jar does not exist : C:\\Users\\Lakshitha\\Desktop\\New%20Jobhunt\\Remote\\dist\\Remote.jar

I checked the path in that folder and that jar file exist. Can anybody help?

Make sure you dont have space and special character in path ,but it seems in your path C:\\Users\\Lakshitha\\Desktop\\New%20Jobhunt\\Remote\\dist\\Remote.jar

in your case New%20Jobhunt which may be some special UTF-8 characters or spaces.so please create a new dir or path without space or special character and try to execute your application again.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM