2014-05-06 142 views
1

我昨天安裝了JProfiler。並將其與NetBeans集成。之後我無法運行項目,所以我決定卸載JProfiler。但是現在,我可以在錯誤日誌中看到消息,請參閱下文。爲什麼NetBeans仍然在尋找jprofilerti.dll?我該如何處理這個錯誤?NetBeans Tomcat啓動失敗

消息:

Using CATALINA_BASE: "C:\Users\MyUser\AppData\Roaming\NetBeans\7.4\apache-tomcat-7.0.41.0_base" 
Using CATALINA_HOME: "C:\Program Files\Apache Software Foundation\Apache Tomcat 7.0.41" 
Using CATALINA_TMPDIR: "C:\Users\MyUser\AppData\Roaming\NetBeans\7.4\apache-tomcat-7.0.41.0_base\temp" 
Using JRE_HOME:  "C:\Program Files\Java\jdk1.7.0_45" 
Using CLASSPATH:  "C:\Program Files\Apache Software Foundation\Apache Tomcat 7.0.41\bin\bootstrap.jar;C:\Program Files\Apache Software Foundation\Apache Tomcat 7.0.41\bin\tomcat-juli.jar" 
Error occurred during initialization of VM 
Could not find agent library C:\PROGRA~1\JPROFI~1\bin\WINDOW~1\jprofilerti.dll in absolute path, with error: Can't find dependent libraries 

回答

0

找到setenv.bat在%CATALINA_BASE%/箱或%CATALINA_HOME%/ bin和刪除,其將所述-agentpath VM參數JAVA_OPTS環境變量的行。