本文介绍了java.lang.ClassNotFoundException :( Driver Class)当Datasource使用JNDI时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的context.xml ...
展开 | 选择 | Wrap | 行号 解决方案你的类路径中的postgreSQL jar在你的linux机器上? 亲切的问候, Jos
如果Jar不在类路径然后它为什么在Windows中正常运行? 将jar保存到WEB-INF / lib文件夹中,我正在制作war文件并将其部署到服务器中。在Windows中,war文件运行正常..但是为什么不在Linux中运行?
这是我的另一个测试...............在Linux Tomcat Server中。 我的context.xml是...... 展开 | 选择 | Wrap | Line编号
My context.xml...
Expand|Select|Wrap|Line Numbers 解决方案 Is your postgreSQL jar in your classpath on your linux machine? kind regards, JosIf the Jar is not in the classpath then why it runs properly in Windows ? The jars are kept into the the folder WEB-INF/lib and i am making the war file and deploy it into the server...In Windows the war file is running OK ..but why not in Linux?This is my another test ............... in Linux Tomcat Server. My context.xml is ... Expand|Select|Wrap|Line Numbers更多推荐
java.lang.ClassNotFoundException :( Driver Class)当Datasource使用JNDI时
发布评论