using an external Jar / referenced library [message #1797061] |
Wed, 24 October 2018 11:53  |
Eclipse User |
|
|
|
Appreciate any support on this (after reading many forums I am none the wiser).
If if I put a jar into (Neon.3) WEB-INF/ lib folder then I can import a class from that jar (in my jsp) and run a method against that class.
If however I do not want that jar packaged within Eclipse (I want it to remain completely external) then I add a library linked to that jar and the jar then appears in Referenced Libraries, as expected, but the original import then fails (class / jar no longer found) and I cant run that class. The qualified name is the same.
I can manually open the package and view the class file so I know it is there.
I don't want to have to embed my jar in the Eclipse project because that jar already runs as a 'stand-alone' back-end process, I just want to ensure jsp's in Eclipse can call it / run threads etc.
Is this possible, do I have to move the jar to a different folder?
Regards
Active.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.43639 seconds