以文本方式查看主题

-  中文XML论坛 - 专业的XML技术讨论区  (http://bbs.xml.org.cn/index.asp)
--  『 Semantic Web(语义Web)/描述逻辑/本体 』  (http://bbs.xml.org.cn/list.asp?boardid=2)
----  [求助]调试owl文件出现错误,大家看下是什么原因造成呢?  (http://bbs.xml.org.cn/dispbbs.asp?boardid=2&rootid=&id=77772)


--  作者:jiangqiangln
--  发布时间:10/13/2009 5:30:00 PM

--  [求助]调试owl文件出现错误,大家看下是什么原因造成呢?
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 1 in the generated java file
The type com.hp.hpl.jena.query.QueryExecution cannot be resolved. It is indirectly referenced from required .class files

An error occurred at line: 1 in the generated java file
The type com.hp.hpl.jena.query.ResultSet cannot be resolved. It is indirectly referenced from required .class files

An error occurred at line: 11 in the generated java file
Only a type can be imported. com.hp.hpl.jena.query.ResultSet resolves to a package

An error occurred at line: 12 in the generated java file
Only a type can be imported. com.hp.hpl.jena.query.QuerySolution resolves to a package

An error occurred at line: 13 in the generated java file
Only a type can be imported. com.hp.hpl.jena.query.QueryExecution resolves to a package

An error occurred at line: 14 in the generated java file
Only a type can be imported. com.hp.hpl.jena.query.QueryExecutionFactory resolves to a package

An error occurred at line: 32 in the jsp file: /index.jsp
ResultSet cannot be resolved to a type
29: dbsm.setQueryStr(queryStr);
30: dbsm.executeQuery();
31:
32:   ResultSet results =dbsm.getRs();
33:   while (results.hasNext())
34: {
35:


An error occurred at line: 36 in the jsp file: /index.jsp
QuerySolution cannot be resolved to a type
33:   while (results.hasNext())
34: {
35:
36: QuerySolution soln = results.nextSolution();
37:    System.out.print(soln.get("s").toString());
38: }
39:    %>


W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
46.875ms