开发者

Error while running a hibernate program in eclipse

I was trying to run a hibernate sample in eclipse and I am getting

Referenced classpath provider does not exist: org.maven.ide.eclipse.launchconfig.classpathProvider

I just uninstalled maven from eclipse but I 开发者_如何学编程think I need to make some changes in configuration to make my program work now.

Thanks, Sid


If you are no longer using maven eclipse plugin, then you should regenerate your eclipse configuration with

mvn eclipse:clean eclipse:eclipse

This will make available all the project dependencies to eclipse.


I just had this problem from some old maven settings; it was stuck between maven nature and default.

You can right click the project -> Configure -> Convert to Maven Project. Now that you have the maven option you can do right click project -> Maven -> Disable Maven Nature.

This got it unstuck for me, but you could also manually fix it in the .classpath file.


You need to clean your workspace. Projects -> Clean...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜