What do I need to do after I change a .java file?#

Usually you only have to refresh your browser page. Hot Code Replacement makes your changes effective at runtime.

I'm done editing. How to make my changes permanent?#

You don't have to worry that you changes will be lost after you shut down KnowWE. To make the changes effective for the next restart, you have to perform Maven Install on KnowWE-App.

Hot Code Replacement failed. What to do?#

Sometimes, especially when doing major changes to a .java file, Hot Code Replacement fails. In this case you have to
  • Quit Tomcat
  • Perform a Maven Install on KnowWE-App and
  • Start Tomcat again.

What do I need to do after I change a Non-Java file?#

Unfortunately, there is no Hot Code Replacement for Non-Java files. However, there is a How-To for developing Javascript at runtime, which may be useful for you.

How to make changes to Non-Java files effective:

  • Quit Tomcat
  • Perform Maven Install on your plugin aswell as KnowWE-App
  • Restart Tomcat

Tomcat successfully starts, but the wiki pages are not loaded. What to do?#

This can happen when you perform a Maven Install while Tomcat is still running. To fix this, you have to follow these steps:
  • Right click on KnowWE-App in Eclipse
  • Select Tomcat > Update Tomcat Context
  • Start Tomcat

  • Tomcat starts, but wikipages are not loaded -> update Tomcat-Context... this happens when mvn installing while tomcat is running...
  • What is an plugin, what is an extension, what is an extension point (http://d3webwiki.informatik.uni-wuerzburg.de/Wiki.jsp?page=Plugins%20and%20Extensions)
  • What is the Scope of an extension