Look if your classpath is correct, and check if the versions of your libraries match the version you described in your pom.xml

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Persistence Provider Confusion
    via by rfnel,
  • Welcome Page Failure
    via GitHub by bwinspur
  • WSO2 Error with Registry UDDI
    via Stack Overflow by user1821758
    • java.lang.NoClassDefFoundError: javax/persistence/spi/PersistenceProvider at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond( at java.lang.ClassLoader.defineClass([/b]

    Users with the same issue

    12 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    1 times, last one,
    12 times, last one,
    139 more bugmates