Wednesday, April 5, 2017

Loading PowerAqua from poweraqualinked

copy powerqualinked to /var/lib/tomcat7/webapps/poweraqua/ :


Go to localhost:8080/poweraqua/

index.html in /poweraqua/ is:

 <html>
<head>
<meta HTTP-EQUIV="REFRESH" content="0; url=jsp/init.jsp">
</head>
</html>





jsp/init.jsp 404s

How do I set the path?

See: https://tomcat.apache.org/tomcat-5.5-doc/config/context.html
https://tomcat.apache.org/tomcat-7.0-doc/class-loader-howto.html
https://tomcat.apache.org/tomcat-7.0-doc/appdev/deployment.html

./PowerAquaOpenSource/dist# java -jar "PowerAquaSVN.jar"
Exception in thread "main" java.lang.NoClassDefFoundError: gate/util/GateException
    at poweraqua.LinguisticComponent.LinguisticComponent.<init>(LinguisticComponent.java:38)
    at poweraqua.powermap.triplePhase.TripleSimilarityService.main(TripleSimilarityService.java:3232)
Caused by: java.lang.ClassNotFoundException: gate.util.GateException
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)


No comments:

Post a Comment