I did a locate on ecj-3.7.1.jar and found the following in /usr/share/java:

lrwxrwxrwx   1 root root      21 Nov  7 20:41 ecj.jar -> eclipse-ecj-3.7.1.jar
-rw-r--r--   1 root root 1183268 Nov  7 20:41 eclipse-ecj-3.7.1.jar
lrwxrwxrwx   1 root root      21 Nov  7 20:41 eclipse-ecj.jar ->
eclipse-ecj-3.7.1.jar

I notice that neither of the symlinks or the file itself is just
called "ecj-3.7.1.jar".  Is that significant?

If that is fine, how could I get my environment to "see" the new file?

Thanks.

On 14 February 2012 18:16, Konstantin Kolinko <knst.koli...@gmail.com> wrote:
> 2012/2/14 Jude Lucien <jluc...@gmail.com>:
>> Basic Problem:  I am unable to compile jsp's and display them via
>> Tomcat.  I am using the Netbeans IDE for web development and webapps
>> that use html files/servlets run just fine.  It's when I try to run a
>> jsp that I get an Error 500:
>>
>> message
>>
>> description The server encountered an internal error () that prevented
>> it from fulfilling this request.
>>
>> exception
>>
>> org.apache.jasper.JasperException: java.lang.IllegalStateException: No
>> Java compiler available
>>        
>> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:585)
>>        
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:391)
>>        
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
>>        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
>>        javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>>
>> root cause
>>
>> java.lang.IllegalStateException: No Java compiler available
>>        
>> org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:228)
>>        
>> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:638)
>>        
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
>>        
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
>>        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
>>        javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>>
>> note The full stack trace of the root cause is available in the Apache
>> Tomcat/7.0.25 logs.
>>
>> My laptop config is as follows:
>>
>> OS: Arch Linux kernel 3.2.4-1-ARCH
>> Tomcat: 7.0.25
>> jdk: 7-3
>> $ java -showversion
>> java version "1.7.0"
>> Java(TM) SE Runtime Environment (build 1.7.0-b147)
>> Java HotSpot(TM) Server VM (build 21.0-b17, mixed mode)
>> Netbeans: 7.1
>>
>> I have googled extensively and looked through the logs and I am at a
>> loss.  It obviously can't find a compiler but I have one.  I have
>> looked through the Netbeans configuration options and don't see
>> anything that looks relevant, but I am a noob to Java so I could
>> easily be missing something.
>>
>> Any help appreciated!
>>
>
> The compiler should be in ecj-3.7.1.jar. Do you have that file?
>
> Note that there was update 3.7 -> 3.7.1 recently, and the version is
> part of the file name. Maybe in your environment it somehow does not
> see the new version of the file.
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>



-- 
"None are more hopelessly enslaved than those who falsely believe they
are free"  -- Johann Wolfgang von Goethe

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to