啟動Tomcat時出現底下錯誤。
WARNING: Failed to retrieve JNDI naming context for container [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/common-user-registration]] so no cleanup was performed for that container
javax.naming.NamingException: No naming context bound to this class loader
...
今天的解決辦法是在Eclipse的Servers視窗右鍵點Tocmat Server然後選[Clean...],這個動作就是將已部屬在Tomcat的專案清除,之後再啟動時就會重新佈署專案,然後就可以順利啟動了。
沒有留言:
張貼留言