java.lang.NoSuchMethodError: java.io.StringWriter.append(Ljava/lang/CharSequence Ljava/io/StringWriter;

Coderanch | anish reddy | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    facing problem while executing java program

    Coderanch | 8 years ago | anish reddy
    java.lang.NoSuchMethodError: java.io.StringWriter.append(Ljava/lang/CharSequence Ljava/io/StringWriter;
  2. 0

    facing problem while trying to access db

    Coderanch | 8 years ago | anish reddy
    java.lang.NoSuchMethodError: java.io.StringWriter.append(Ljava/lang/CharSequence;)Ljava/io/StringWriter;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      java.io.StringWriter.append(Ljava/lang/CharSequence Ljava/io/StringWriter;

      at javax.persistence.Persistence.createErrorMessage()
    2. JavaEE 7
      Persistence.createEntityManagerFactory
      1. javax.persistence.Persistence.createErrorMessage(Persistence.java:258)
      2. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:120)
      3. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
      3 frames
    3. org.an
      StudentInst.main
      1. org.an.StudentInst.main(StudentInst.java:14)
      1 frame