“PWC6345: There is an error in invoking javac.” error when using Jetty WTP plugin to deploy a JSP page on Jetty

后端 未结 14 1994
刺人心
刺人心 2020-11-30 00:54

I\'m trying to deploy a JSP-page on Jetty, using the Jetty WTP plugin for Eclipse. But I get the error below. It looks like Jetty can\'t find javac. Is there an

14条回答
  •  无人及你
    2020-11-30 01:04

    I have the same problem. When I run where java, the output is:

    C:\Windows\System32\java.exe

    D:\Program Files\Java\jdk1.7.0_25\bin\java.exe

    Of course the first one is incorrect. So my problem lies in the PATH. I can rectify this by either removing the java.exe in the directory C:\Windows\System32\ because I'm sure it's useless, or putting the second entry in front of the first one.

    So When encountering this problem, please check your PATH for the jdk. I hope that my problem and my solution is helpful in some way.

提交回复
热议问题