Troubleshooting
Problem
When using the product without the Eclipse user interface, such as using Ant tasks or JUnit which start from the command prompt, during the server start process an illegal state exception occurs stating that the workbench has not been created.
Symptom
An example of the IllegalStateException message thrown in the console output:
java.lang.IllegalStateException: Workbench has not been created yet.
at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:92)
at org.eclipse.wst.server.ui.internal.SaveEditorPrompter.saveAllEditors(SaveEditorPrompter.java:26)
at org.eclipse.wst.server.core.internal.Server.start(Server.java:1788)
...
Tip: Alternatively, the exception message is written in the .log file available in the .metadata directory of your workspace directory.
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
16 June 2026
UID
swg21460043