摘要:
maven打包出错,[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? 先看下项目配置 统一JDK1.7 编译环境JDK1.7 Project 阅读全文
摘要:
在jsp和class文件中调用的相对路径不同。 在jsp里,根目录是WebRoot 在class文件中,根目录是WebRoot/WEB-INF/classes 当然你也可以用System.getProperty("user.dir")获取你工程的绝对路径。 另:在Jsp,Servlet,Java中详 阅读全文