When you try to access a .jsp page, the following error is reported:
HTTP ERROR: 500 Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file
This article explains the possible causes of this error.
The above error indicates that the application server cannot compile the .jsp file into a .class file.
There are two probable causes for this error when accessing a .jsp page on the FAST Data Search 4.x J2EE server, such as 16089/cqt/search.jsp:
The .jsp file is not precompiled as a .jsp.class file; Note The default search page :16089/wqt/*.jsp files are precompiled to .jsp.class files, but the :16089/cqt/*.jsp files are not.
The .jsp file has been deployed to \j2ee\server\vespa\deploy but the JAVA_HOME parameter in the %FASTSEARCH%/etc/NodeConf.xml file has not been updated to reference a full JDK and instead references the default JRE at %FASTSEARCH/_jvm.
Note See "How to customize the Query Front-end by editing JSP" in the Query Integration Guide for details on configuring NodeConf.xml and deploying .jsp files.