2 saltfish123 saltfish123 于 2017.09.13 19:38 提问

Netbeans 运行jsp时出现错误

C:\Users\kristen\Documents\NetBeansProjects\WebApplication1\build\generated\src\org\apache\jsp\MyJsp_jsp.java:90: 错误: 有 'catch', 但是没有 'try'
} catch (Throwable t) {
C:\Users\kristen\Documents\NetBeansProjects\WebApplication1\build\generated\src\org\apache\jsp\MyJsp_jsp.java:98: 错误: 有 'finally', 但是没有 'try'
} finally {
C:\Users\kristen\Documents\NetBeansProjects\WebApplication1\build\generated\src\org\apache\jsp\MyJsp_jsp.java:38: 错误: 'try' 不带有 'catch', 'finally' 或资源声明
try {
C:\Users\kristen\Documents\NetBeansProjects\WebApplication1\build\generated\src\org\apache\jsp\MyJsp_jsp.java:102: 错误: 解析时已到达文件结尾
}
4 个错误
C:\Users\kristen\Documents\NetBeansProjects\WebApplication1\nbproject\build-impl.xml:953: The following error occurred while executing this line:
C:\Users\kristen\Documents\NetBeansProjects\WebApplication1\nbproject\build-impl.xml:296: Compile failed; see the compiler error output for details.

Csdn user default icon
上传中...
上传图片
插入图片