nginx应该没问题  启动后访问localhost就能显示欢迎页面
而resin启动的时候貌似没出错,而且访问里面自带的resin-doc项目也能访问,就是访问localhost:8080时报异常....有人给看看是哪的问题?  要哪的配置你们说我发图给你们

解决方案 »

  1.   

    页面提示“500 Servlet Exception”
      

  2.   

    直接粘贴异常吧....
    loading .tld files from global classpath
    an input/output error occurred.
    Consult the following stack trace for details.
    java.io.IOException: cannot close class loader
    at com.sun.tools.javac.util.CloseableURLClassLoader.close(CloseableURLClassLoader.java:60)
    at com.sun.tools.javac.processing.JavacProcessingEnvironment.close(JavacProcessingEnvironment.java:916)
    at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:738)
    at com.sun.tools.javac.main.Main.compile(Main.java:353)
    at com.sun.tools.javac.main.Main.compile(Main.java:279)
    at com.sun.tools.javac.main.Main.compile(Main.java:270)
    at com.sun.tools.javac.Main.compile(Main.java:87)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.caucho.java.InternalCompiler.executeInt(InternalCompiler.java:179)
    at com.caucho.java.InternalCompiler.compileInt(InternalCompiler.java:96)
    at com.caucho.java.AbstractJavaCompiler.run(AbstractJavaCompiler.java:102)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.NullPointerException
    at com.sun.tools.javac.util.CloseableURLClassLoader.close(CloseableURLClassLoader.java:56)
    ... 14 more