Hi Guys again,
I have successfully create the first app , but when i do the run
command i always get these: where is the problem ?
Listening for transport dt_socket at address: 8000
04:57:46,890 INFO ~ Starting C:\Documents and Settings\admin\hello
Exception in thread "main" java.lang.NoClassDefFoundError: javax/
persistence/Per
sistenceException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown
Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at play.Play.loadPlugins(Play.java:566)
at play.Play.init(Play.java:268)
at play.server.Server.main(Server.java:131)
Caused by: java.lang.ClassNotFoundException:
javax.persistence.PersistenceExcept
ion
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 8 more
and when try to visit
http://ocalhost:9000/ i got this message.
C:\Documents and Settings\admin>
Access to the webpage was denied.
You are not authorized to access the webpage at
http://localhost:9000/.
You may need to log in.
More information on this error.
here what i use :
Play! 1.1
JDK1.6.0_22
Hope u guys could help me with this problem i really liked Play!
framework .
Thanks