"No viewProvider named basicuiexample" when creating new module

Version Number: Platform 1.11.6-SNAPSHOT

Hello, I’m trying to create a new module. I’ll describe what I did step for step:

  1. I modified the setting.xml file of maven as said here https://wiki.openmrs.org/display/docs/Using+the+Module+Maven+Archetype and I generated the module with mvn module-wizard:generate. I left everything as default, except the id (i wrote basicuiframework) name (Basic UI Framework) and version of the openmrs-core, where i wrote 1.11.6-SNAPSHOT.

  2. I imported the module in Eclipse. I modified the 4 XML file as said here https://wiki.openmrs.org/display/docs/Using+the+UI+Framework+in+Your+Module. I just changed in the fourth “yourmoduleid” with basicuiframework

  3. I created an helloWorld.gsp in yourmodule/omod/src/main/webapp/pages/. Then i started the server: mvn jetty:run -DuiFramework.developmentFolder=C:\Workspace3\Git\ -DuiFramework.developmentModules=basicuiexample but when i go at page localhost:8080/openmrs/basicuiexample/helloWorld.page it doesn’t load and i receive an error UI Framework Error:

    Root Error org.openmrs.ui.framework.UiFrameworkException: No viewProvider named basicuiexample

any idea? thank you

1 Like

Solved, i didnt import the module from the system managemt