You can get started with this: https://wiki.openmrs.org/display/docs/OpenMRS+SDK
I have done the same, I kept the legacyui-1.6.0.omod in C:\Users\AppData\Roaming\OpenMRS\modules, even though I am getting the no user interface module is installed error
what interface are you seing,you can drop the screen short here
Thanks for the quick reply, I am getting the above interface, even I have restarted the server. Waiting for reply
try deleting the legacy ui from the modules,and then download it here https://addons.openmrs.org/show/org.openmrs.module.legacy-ui-module after put it back to the C:\Users\AppData\Roaming\OpenMRS\modules ,then restart the server.incase it fails again,you will drop here the server logs here
You may want to first try clearing the browser cache, and reload the page.
sure,so many times chrome has that issue faced it a couple of days back
I am getting the below error
WARN: Establishing SSL connection without serverâs identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isnât set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to âfalseâ. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification. WARN - ModuleFactory.startModuleInternal(786) Error while trying to start module: legacyui org.openmrs.module.ModuleException: Module requires version matching 2.0.0. Current code version is ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}-${revisionNumber} at org.openmrs.module.ModuleUtil.checkRequiredVersion(ModuleUtil.java:399) ~[classes/:?] at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:653) [classes/:?] at org.openmrs.api.context.Daemon$1.run(Daemon.java:80) [classes/:?]
when I am running the
mvn clean install openmrs-sdk:run
I got the below exception
Exception in thread âhttp-bio-8081-Acceptor-0â java.lang.OutOfMemoryError: GC overhead limit exceeded
If I start the command multiple times got an error but execution continued Error:-
:ERROR A âorg.apache.log4j.xml.DOMConfiguratorâ object is not assignable to a âorg.apache.log4j.spi.Configuratorâ variable. log4j:ERROR The class âorg.apache.log4j.spi.Configuratorâ was loaded by log4j:ERROR [ClassRealm[plugin>org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.13.4, parent: sun.misc.Launcher$AppClassLoader@4e25154f]] whereas object of type log4j:ERROR âorg.apache.log4j.xml.DOMConfiguratorâ was loaded by [WebappClassLoader context: /openmrs delegate: false repositories: /WEB-INF/classes/ ----------> Parent Classloader: ClassRealm[tomcat, parent: null] ]. log4j:ERROR Could not instantiate configurator [org.apache.log4j.xml.DOMConfigurator].
got struck at
org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
I got stucked on this please help me on this, I am able to view the below screen, I have downloaded the latest version of the https://addons.openmrs.org/show/org.openmrs.module.legacy-ui-module url, after that I have restarted the jetty server. Still I am seeing the below interface only, got stucked, it seems I am having some version related issue, my error is
**Error while trying to start module: legacyui** org.openmrs.module.ModuleException: Module requires version matching 2.0.0. Current code version is ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}-${revisionNumber} at org.openmrs.module.ModuleUtil.checkRequiredVersion(ModuleUtil.java:399)
I am using jdk 1.8, my sql 5.7, tomcat 7
please help me on this
Run the SDK setup again and this time choose Distribution
instead of Platform
@dkayiwa thanks for reply, after ther sdk setup in webapp project, still getting the same
Error while trying to start module: legacyui
error, I am using the github code
@ravi Sorry about the error , how about you go about it the sdk way and set up a server running on snapshot version of platform bundled with the snapshot version of the legacy ui .This will getting you up and running your platform instance.
initially I have downloaded the source code, and I have followed the same steps provided in the like below
https://wiki.openmrs.org/display/docs/Maven
When I hit
mvn jetty:run
I am able to vie the below screen
Now I am trying to set the user interface, as part of that I have downloaded the legacy file from https://addons.openmrs.org/show/org.openmrs.module.legacy-ui-module,
kept in C:\Users\AppData\Roaming\OpenMRS\modules ,then restart the serverted the jetty. Still I am getting the same above interface only.
as @dkayiwa suggested, I have Run the SDK setup again and this time choose Distribution
instead of Platform
in the webapp folder.
as part of sdk setup in webapp folder I have run the below commands
> mvn org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:setup-sdk
> mvn openmrs-sdk:help
> mvn openmrs-sdk:setup-sdk -U
> mvn openmrs-sdk:setup
Still getting the same error
I am using
legacyui-1.6.0.omod
are you asking the openmrs Platform version?
yes platform version
as per the below error i am assuming it is 2.0
Error while trying to start module: legacyui org.openmrs.module.ModuleException: Module requires version matching 2.0.0. Current code version is ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}-${revisionNumber} at org.openmrs.module.ModuleUtil.checkRequiredVersion(ModuleUtil.java:399) ~[classes/:?] at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:653) [classes/:?] at org.openmrs.api.context.Daemon$1.run(Daemon.java:80) [classes/:?]
if it is not correct, Please suggest me how to check the openmrs version number?
it is showin in my console that
Building openmrs-webapp 2.4.0-SNAPSHOT
in my console it is showing
Building openmrs-webapp 2.4.0-SNAPSHOT,
@gcliff
I have downloaded the new code you have given, it is generated the legacyui-1.7.0-SNAPSHOT.omod
, kept in modules folder and restrted, Still getting the same error.
Error while trying to start module: legacyui org.openmrs.module.ModuleException: Module requires version matching 2.0.0. Current code version is ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}-${revisionNumber} at org.openmrs.module.ModuleUtil.checkRequiredVersion(ModuleUtil.java:399) ~[classes/:?] at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:653) [classes/:?] at org.openmrs.api.context.Daemon$1.run(Daemon.java:80) [classes/:?]
@gcliff I am not able to give reply to you as system is not allowing. I am still getting the error