I can only compile down to JDK 1.6 java 6 but still get same error below from
the web interface.
But get the following error when pointing to JDK1.5 java 5 which would imply
some parts of the code was built with 1.6. BTW I downgraded Ant to 1.9 (Apache
Ant(TM) version 1.9.14 compiled on March 12 2019).
Buildfile: /opt/OpenIMSCore/FHoSS/build.xml
init:
[mkdir] Created dir: /opt/OpenIMSCore/FHoSS/bin
compile:
[javac] /opt/OpenIMSCore/FHoSS/build.xml:48: warning: 'includeantruntime'
was not set, defaulting to build.sysclasspath=last; set to false for repeatable
builds
[javac] Compiling 202 source files to /opt/OpenIMSCore/FHoSS/bin
[javac]
/opt/OpenIMSCore/FHoSS/src/de/fhg/fokus/hss/auth/AuthenticationVector.java:49:
cannot access de.fhg.fokus.diameter.DiameterPeer.data.AVP
[javac] bad class file:
/opt/OpenIMSCore/FHoSS/lib/jdp.jar(de/fhg/fokus/diameter/DiameterPeer/data/AVP.class)
[javac] class file has wrong version 51.0, should be 49.0
[javac] Please remove or make sure it appears in the correct subdirectory
of the classpath.
[javac] import de.fhg.fokus.diameter.DiameterPeer.data.AVP;
[javac] ^
[javac] 1 error
BUILD FAILED
/opt/OpenIMSCore/FHoSS/build.xml:48: Compile failed; see the compiler error
output for details.
Any insight would be appreciated.
Thanks,
Martin
From: sr-users <[email protected]> On Behalf Of Woscek,
Martin W.
Sent: Tuesday, June 18, 2019 2:38 PM
To: Kamailio (SER) - Users Mailing List <[email protected]>
Subject: [SR-Users] FHoSS db web interface failing for retrievals
Hi all,
We can enter user data into our HSS, we just cant retrieve data.
Just to verify, FHoSS is based on Java 1.7 and java.lang.CharSequence is in
Java 1.7?
What we have:
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
The error:
HTTP Status 500 -
________________________________
type Exception report
message
description The server encountered an internal error () that prevented it from
fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 116 in the jsp file:
/pages/user/imsu_search_result.jsp
Generated servlet error:
The type java.lang.CharSequence cannot be resolved. It is indirectly referenced
from required .class files
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Thanks,
_Martin
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users