EclipseはTomcatを起動し、「サーバーに公開できませんでした」と報告しました。 java.lang.NullPointerException 'ソリューション



Eclipse Started Tomcat



Tomcatの起動時に突然エラーが報告されました。私はこれまでこの種のエラーを見たことがありません。エラーメッセージは次のとおりです。

Could not publish to the server. java.lang.NullPointerException

解決



1, Close eclipse 21. Under the workspace directory you set, open the directory:.metadata.pluginsorg.eclipse.wst.server.core 3, Delete the 'temp0' folder 4, Start eclipse