An error occurred at line: [16] in the generated java file: [F:\javaworkspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\testWeb\org\apache\jsp\index_jsp.java]
Only a type can be imported. com.accu.testWeb.serial.manage.SerialPortManager resolves to a packageAn error occurred at line: [26] in the jsp file: [/index.jsp]
SerialPortManager cannot be resolved
23: <td class="td1">串口</td>
24: <td class="td2">
25: <%
26: commList = SerialPortManager.findPort();
27: if (commList == null || commList.size() < 1) {
28: ShowUtils.warningMessage("没有搜索到有效串口!");
29:
An error occurred at line: [28] in the jsp file: [/index.jsp]
ShowUtils cannot be resolved
25: <%
26: commList = SerialPortManager.findPort();
27: if (commList == null || commList.size() < 1) {
28: ShowUtils.warningMessage("没有搜索到有效串口!");
29:
30: } else {
31:
Stacktrace:] with root cause
org.apache.jasper.JasperException: Unable to compile class for JSP:
Only a type can be imported. com.accu.testWeb.serial.manage.SerialPortManager resolves to a packageAn error occurred at line: [26] in the jsp file: [/index.jsp]
SerialPortManager cannot be resolved
23: <td class="td1">串口</td>
24: <td class="td2">
25: <%
26: commList = SerialPortManager.findPort();
27: if (commList == null || commList.size() < 1) {
28: ShowUtils.warningMessage("没有搜索到有效串口!");
29:
An error occurred at line: [28] in the jsp file: [/index.jsp]
ShowUtils cannot be resolved
25: <%
26: commList = SerialPortManager.findPort();
27: if (commList == null || commList.size() < 1) {
28: ShowUtils.warningMessage("没有搜索到有效串口!");
29:
30: } else {
31:
Stacktrace:] with root cause
org.apache.jasper.JasperException: Unable to compile class for JSP:
解决方案 »
- 有没有学习Struts1的视频啊?
- 请问这个hibernate的dao怎么写配置文件呢?
- 请教高手jocky不能混淆编译成兼容JVM1.4问题(急!!!!!!!!!!!!!!!!)
- SQL语句日期问题!!!求两个日期相关的SQL语句&数据库操作.
- 一个树形菜单问题,在线等!
- 请看看这是什么错误
- [文档][原创]在Tomcat运行时动态重载类(version 5.0.28)
- 根据生产数据实时生成折线图(在WEB中实现),就最佳解决方案!!!
- select * from Users where UserID ='admin'和select * from Users where [User] ='aDmin'的结果是一样的?!
- 简单问题,大家进来看一下,关于如何不区分大小写
- Spring Boot JPA取消插入前查询(存在就合并),实现报错“唯一约束”
- 为什么jsp访问mysql数据库时第一次打开正常,再刷新就读不到数据了?
还有commList声明的时候不能List commList;要写成List commList = null;