jsp:页面导入导致语法错误
我正在编写一个 jsp 应用程序,到目前为止我所做的是包含我需要的类 并写入字符串文本:
<%@ page import="com.google.code.facebookapi.FacebookException;" %>
<%@ page import="com.google.code.facebookapi.FacebookWebappHelper;" %>
<%@ page import="com.google.code.facebookapi.FacebookXmlRestClient;" %>
<%@ page import="com.google.code.facebookapi.IFacebookRestClient;" %>
<%@ page import="com.google.code.facebookapi.ProfileField;" %>
<%@ page import="java.util.ArrayList;" %>
<%@ page import="java.util.Collection;" %>
<%@ page import="java.util.EnumSet;" %>
<%@ page import="java.util.HashMap;" %>
<%@ page import="org.apache.commons.lang.exception.ExceptionUtils;" %>
<%@ page import="org.w3c.dom.Document;" %>
test
我收到以下错误消息:
生成的 java 文件中的第 6 行发生错误 标记“;”上的语法错误,删除此标记
生成的 java 文件中第 7 行发生错误 标记“;”上的语法错误,删除此标记
生成的 java 文件中第 8 行发生错误 标记“;”上的语法错误,删除此标记
生成的 java 文件中第 9 行发生错误 标记“;”上的语法错误,删除此标记
生成的 java 文件中第 10 行发生错误 标记“;”上的语法错误,删除此标记
生成的 java 文件中第 11 行发生错误 标记“;”上的语法错误,删除此标记
生成的 java 文件中第 12 行发生错误 标记“;”上的语法错误,删除此标记
生成的 java 文件中第 13 行发生错误 标记“;”上的语法错误,删除此标记
生成的 java 文件中第 14 行发生错误 标记“;”上的语法错误,删除此标记
生成的 java 文件中第 15 行发生错误 标记“;”上的语法错误,删除此标记
我缺少什么?
谢谢!
I'm writing a jsp application, what i did so far was to include the classes i need
and to write the string text:
<%@ page import="com.google.code.facebookapi.FacebookException;" %>
<%@ page import="com.google.code.facebookapi.FacebookWebappHelper;" %>
<%@ page import="com.google.code.facebookapi.FacebookXmlRestClient;" %>
<%@ page import="com.google.code.facebookapi.IFacebookRestClient;" %>
<%@ page import="com.google.code.facebookapi.ProfileField;" %>
<%@ page import="java.util.ArrayList;" %>
<%@ page import="java.util.Collection;" %>
<%@ page import="java.util.EnumSet;" %>
<%@ page import="java.util.HashMap;" %>
<%@ page import="org.apache.commons.lang.exception.ExceptionUtils;" %>
<%@ page import="org.w3c.dom.Document;" %>
test
I get the following error messages:
An error occurred at line: 6 in the generated java file
Syntax error on token ";", delete this token
An error occurred at line: 7 in the generated java file
Syntax error on token ";", delete this token
An error occurred at line: 8 in the generated java file
Syntax error on token ";", delete this token
An error occurred at line: 9 in the generated java file
Syntax error on token ";", delete this token
An error occurred at line: 10 in the generated java file
Syntax error on token ";", delete this token
An error occurred at line: 11 in the generated java file
Syntax error on token ";", delete this token
An error occurred at line: 12 in the generated java file
Syntax error on token ";", delete this token
An error occurred at line: 13 in the generated java file
Syntax error on token ";", delete this token
An error occurred at line: 14 in the generated java file
Syntax error on token ";", delete this token
An error occurred at line: 15 in the generated java file
Syntax error on token ";", delete this token
what am i missing?
thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
很明显。删除那个“;”
参考
It is clear. remove that ';'
ref