Issue with NoClassDefFoundError error in a web environment Spring/Wicket/Derby/Jetty

后端 未结 4 511
陌清茗
陌清茗 2020-12-21 11:26

I am trying to build a simple JDBC Spring Template application, the web framework I am using is wicket and under the jetty 6 web server (through the Jetty Maven Plugin). Al

4条回答
  •  -上瘾入骨i
    2020-12-21 12:07

    Are you sure that your derby.jar contains the org.apache.derby.jdbc.EmbeddedDriver class? You may want to check you have the correct version.

    If you are using Maven to package the application then it is strange that the jar name ends up being derby.jar with no version number attached to it.

提交回复
热议问题