Java 找不到要复制的文件 ${libs.jstl11.classpath}
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/24597060/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Could not find file ${libs.jstl11.classpath} to copy
提问by Micah Rockie
Good day guys. I have this project in netbeans that when I try to run, it gives out an error message: "Warning: Could not find file C:\wamp\folder1\${libs.jstl11.classpath} to copy. BUILD FAILED (total time: 0 seconds)
I tried adding jstl-1.2.1.jar to the project's library but it still gets the same error. I also downloaded a jstl11.jar and added it again to project's library but it still don't work. Any other suggestions on how I can resolve this? I'm using netbeans 7.4, Thank you in advance.
伙计们,美好的一天。我在 netbeans 中有这个项目,当我尝试运行时,它给出了一条错误消息:"Warning: Could not find file C:\wamp\folder1\${libs.jstl11.classpath} to copy. BUILD FAILED (total time: 0 seconds)
我尝试将 jstl-1.2.1.jar 添加到项目的库中,但它仍然出现相同的错误。我还下载了一个 jstl11.jar 并将其再次添加到项目的库中,但它仍然不起作用。关于如何解决此问题的任何其他建议?我正在使用 netbeans 7.4,在此先感谢您。
采纳答案by Chetan
I too faced the same problem.
我也面临同样的问题。
- Select the project in the netbeans and right click and navigate to properties.
- Navigate to libraries, you should see in compile tab that the mentioned library is missing.
- Remove the missing library and add a new library of JSTL which you have downloaded or choose from JSTL library options given by netbeans.
- Save the settings and clean and build the project. Now you should not get the error.
- 在 netbeans 中选择项目并右键单击并导航到属性。
- 导航到库,您应该在编译选项卡中看到提到的库丢失。
- 删除缺少的库并添加一个新的 JSTL 库,您已下载该库或从 netbeans 提供的 JSTL 库选项中进行选择。
- 保存设置并清理和构建项目。现在你不应该得到错误。
Please let me know if it worked
请让我知道它是否有效