Atjeews icon indicating copy to clipboard operation
Atjeews copied to clipboard

Unable to resolve superclass of Lrogatkin/mobile/web/androidServ

Open Halcens opened this issue 10 years ago • 1 comments

Thanks for the code source but I have some problems to execute it. When I try to execute the project I have this error in the logcat :03-06 11:47:09.967: W/dalvikvm(6050): Link of class 'Lrogatkin/mobile/web/AndroidServ;' failed 03-06 11:47:18.587: E/AndroidRuntime(6050): FATAL EXCEPTION: main 03-06 11:47:18.587: E/AndroidRuntime(6050): java.lang.NoClassDefFoundError: rogatkin/mobile/web/AndroidServ 03-06 11:47:18.587: E/AndroidRuntime(6050): at rogatkin.mobile.web.TJWSServ.initServ(TJWSServ.java:193)

Some idea to resolve the problem ? For information I added in the build path the following jars: -jasper.jar = > I found it in the Webserver\lib folder -war.jar => I found it in the Webserver\lib folder -webserver.jar => I found it in the Webserver\lib folder

And I created the libs folder in the android project and I added javax.servlet.jar that I downloaded here => http://www.java2s.com/Code/Jar/j/Downloadjavaxservletjar.htm

best regards

Gary

Halcens avatar Mar 06 '14 11:03 Halcens

Generally AndroidRrv is android service wrapping TJWS and I do not recommend to use it if you try to embed the server in your own application. However you need server.jar in class path. You can also borrow a snippet from AndroidSrv how actually invoke TJWS and pass parameters.

drogatkin avatar Mar 06 '14 20:03 drogatkin