用eclipse新建一个web project 然后run as->myeclipse serverapplication,要我从三个服务器中选一个,MyEclipse Tomcat,
Tomcat 6.x,和Tomcat 6.x[custom],选第一个好像可以运行成功,但地址是lbwin7:8080/helloworld/,不是localhost,另两个Tomcat 6.0的就报错了,The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.7.0_02\bin;C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin这是哪里没设置好?新手救助
------解决方案--------------------
C:\Program Files\Java\jdk1.7.0_02\bin;C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin这是哪里没设置好?
你在config server中配置时只需要将jdk的目录写到C:\Program Files\Java\jdk1.7.0_02
将tomcat的主目录写到C:\Program Files\Apache Software Foundation\Tomcat 6.0
就可以了,不能写到bin目录