Error when running Guestbook

11 views
Skip to first unread message

midi

unread,
Jan 11, 2010, 4:36:44 PM1/11/10
to Google App Engine
Ran into this error when running the Guestbook in Netbeans 6.8

org.apache.jasper.JasperException: An exception occurred processing
JSP page /guestbook.jsp at line 19

16:
17: <%
18: UserService userService = UserServiceFactory.getUserService();
19: User user = userService.getCurrentUser();
20: if (user != null) {
21: %>
22: <p>Hello, <%= user.getNickname() %>! (You can

Any idea how to fix it ?.

Thanks,
Maly

Wesley Chun (Google)

unread,
Jan 14, 2010, 4:28:24 AM1/14/10
to Google App Engine
greetings maly!

as netbeans isn't officially supported, i checked with another App
Engine team member. he looked at your error and thinks that there may
be something wrong with your Netbeans setup as the Guestbook code is
fairly bulletproof. here is a link to a tutorial on using App Engine
with Netbeans:

http://rocky.developerblogs.com/tutorials/getting-started-google-app-engine-netbeans

good luck!
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"Core Python Programming", Prentice Hall, (c)2007,2001
"Python Fundamentals", Prentice Hall, (c)2009
http://corepython.com

wesley.j.chun :: wesc...@google.com
developer relations :: google app engine

Reply all
Reply to author
Forward
0 new messages