开发者

jsp: page imports causing a syntax error

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!


It is clear. remove that ';'

ref

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜