stormpath/todos-jersey

Accessing External JAR Objects

Closed this issue · 2 comments

Hi,

I am trying access my DAO layer which is implemented in some other java project. I exported the JAR from that project and tried use in todo-jersey project but it is giving me below error.

01:30:11.092 [http-bio-8080-exec-5] DEBUG c.s.s.t.j.DefaultExceptionMapper - Resolving to RestError template '500 (Internal Server Error), message: null' for exception of type [java.lang.NoClassDefFoundError], based on exception mapping [Throwable]

Thanks
Fahad Mullaji

I managed to fix this issue. I had to include all JARs which were being used in my custom user JAR.

Thanks
Fahad Mullaji

Glad to hear it :)