Two Laptop Bag
The moose likes JSF and the fly likes facing problem while trying to access db Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "facing problem while trying to access db" Watch "facing problem while trying to access db" New topic
Author

facing problem while trying to access db

anish reddy
Ranch Hand

Joined: Apr 19, 2008
Posts: 72
java.lang.NoSuchMethodError: java.io.StringWriter.append(Ljava/lang/CharSequence;)Ljava/io/StringWriter;
at javax.persistence.Persistence.createErrorMessage(Persistence.java:258)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:120)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
at org.an.StudentInst.main(StudentInst.java:14)
Exception in thread "main"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: facing problem while trying to access db
 
Similar Threads
facing problem while executing java program
Persistence Exception
getting NoSuchMethodException when trying to use EJB 3.0 Persistence with annotations
JPA with J2SE
HibernateException: Hibernate Dialect must be explicitly set