eclipse 配置遇到 object 找不到问题 ?The type java.lang.object cannot be resolved - Eclipse buildpath not working
因为替换了 jvm版本.
解决办法: build->library -> add library->add jre library.tomcat部署问题.?1.清理 部署 重启. 2.先删掉部署项目,可以重新配置config.tomcat 找不到oracle 驱动程序?Tomcat error: java.sql.SQLException: No suitable driver found for jdbc
catalina_home/lib 中已经放入了jar文件后还是报错.请在 context.xml 中配置 <WatchedResource>WEB-INF/web.xml</WatchedResource>
<ResourceLink global="jdbc/oracle" name="jdbc/oracle" type="javax.sql.DataSource"/>
在 server.xml <Resource
name="jdbc/oracle"
auth="Container"
type="javax.sql.DataSource"
maxActive="100" maxIdle="30" maxWait="10000"
driverClassName="oracle.jdbc.OracleDriver"
url="jdbc:oracle:thin:@10.243.140.111:1521:test"
username="core"
password="core"/>
eclipse 项目属性, web deployment assembly设置 source: /webcontent deploypath: /
tomcat 开启gzip压缩
http://blog.csdn.net/hbcui1984/article/details/5666327
Setting property 'source' to 'org.eclipse.jst.jee.server 这个不是问题.
解决Setting property 'source' to 'org.eclipse.jst.jee.server的问题.
http://blog.csdn.net/foreversilent/article/details/11147847