在不同操作系统上创建项目时,在 netbeans +7.2 中编译项目时发生下一个错误
compile-jsps:
[mkdir] Created dir: /var/lib/jenkins/jobs/workspace/build/generated/src
[java] Nov 05, 2013 4:47:29 PM org.apache.jasper.runtime.TldScanner scanJar
[java] WARNING: PWC6351: In TLD scanning, the supplied resource file:/var/lib/jenkins/jobs/workspace/lib/jsp-compilation-syscp/ant.jar;/var/lib/jenkins/jobs/workspace/lib/jsp-compilation-syscp/servlet3.1-jsp2.3-api.jar;/var/lib/jenkins/jobs/workspace/lib/jsp-compilation-syscp/glassfish-jspparser-4.0.jar;/var/lib/jenkins/jobs/workspace/lib/jsp-compilation-syscp/jstl-impl.jar;/var/lib/jenkins/jobs/workspace/lib/jsp-compilation-syscp/javax.faces.jar does not exist
[java] java.io.FileNotFoundException: /var/lib/jenkins/jobs/workspace/lib/jsp-compilation-syscp/ant.jar;/var/lib/jenkins/jobs/workspace/lib/jsp-compilation-syscp/servlet3.1-jsp2.3-api.jar;/var/lib/jenkins/jobs/workspace/lib/jsp-compilation-syscp/glassfish-jspparser-4.0.jar;/var/lib/jenkins/jobs/workspace/lib/jsp-compilation-syscp/jstl-impl.jar;/var/lib/jenkins/jobs/workspace/lib/jsp-compilation-syscp/javax.faces.jar (No such file or directory)
[java] at java.util.zip.ZipFile.open(Native Method)
[java] at java.util.zip.ZipFile.<init>(ZipFile.java:214)
[java] at java.util.zip.ZipFile.<init>(ZipFile.java:144)
[java] at java.util.jar.JarFile.<init>(JarFile.java:152)
[java] at java.util.jar.JarFile.<init>(JarFile.java:89)
[java] at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:93)
[java] at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:69)
[java] at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:88)
[java] at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)
[java] at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:89)
[java] at org.apache.jasper.runtime.TldScanner.scanJar(TldScanner.java:442)
[java] at org.apache.jasper.runtime.TldScanner.scanJars(TldScanner.java:694)
[java] at org.apache.jasper.runtime.TldScanner.scanTlds(TldScanner.java:350)
[java] at org.apache.jasper.runtime.TldScanner.getLocation(TldScanner.java:283)
[java] at org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:589)
[java] at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:500)
[java] at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:582)
[java] at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1657)
[java] at org.apache.jasper.compiler.Parser.parse(Parser.java:185)
[java] at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:244)
[java] at org.apache.jasper.compiler.ParserController.parse(ParserController.java:145)
[java] at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:212)
[java] at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
[java] at org.apache.jasper.JspC.processFile(JspC.java:1171)
[java] at org.apache.jasper.JspC.execute(JspC.java:1338)
[java] at org.netbeans.modules.web.project.ant.JspC.main(JspC.java:101)
[java]
[java] org.apache.jasper.JasperException: file:/var/lib/jenkins/jobs/workspace/build/web/WEB-INF/auth.jsp(10,61) PWC6188: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application