java.lang.NoClassDefFoundError:

General information about Neurotechnology and its software

java.lang.NoClassDefFoundError:

Postby sultan0805099 » Jul 12, 2016 06:47

I am running veriface project in Redhat linux 64 bit . When I run the project , I am getting following exception :

Code: Select all

 java.lang.NoClassDefFoundError: Could not initialize class com.neurotec.licensing.NLicense
   at com.neurotec.tutorials.biometrics.VerifyFace.MatchTwoImage(VerifyFace.java:145)
   at com.neurotec.tutorials.biometrics.VeriFaceServlet.doPost(VeriFaceServlet.java:121)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:644)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
   at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537)
   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1085)
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)
   at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
   at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1556)
   at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1513)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
   at java.lang.Thread.run(Thread.java:745)


I have set the path of Native Libraries in project < Properties < Run < Vm Options : .

Code: Select all
 -Djna.library.path="/u01/J2EE/Lib/faceLib/Linux_x86_64"


I have also set this in setenv.bat in Bin directory of Tomcat .

Code: Select all
set CATALINA_OPTS=%CATALINA_OPTS% -Djna.library.path=”/u01/J2EE/Lib/faceLib/Linux_x86_64”


Why am I getting this error ? How can I solve this exception ?
sultan0805099
 
Posts: 17
Joined: Jun 13, 2016 08:52

Return to Public

Who is online

Users browsing this forum: No registered users and 3 guests

cron