Hi All,
I have checkout the source code from github for OpenKM Community 6.3.4 version.
While i was able to export a workable OpenKM.war through the terminal command
$ mvn clean compile install
I am not able to build it in eclipse itself with the following steps:
1. Right click project "openkm"
2. Select "run-as"
3. Select "maven build..."
4. Goal set "clean gwt:compile install"
5. Set VM argument "-Xss1024k"
6. Apply & Run
I receive the following erorrlog:
But i have searched in eclipse for "openkmfrontend", there is nothing like that.
Please tell me how can i fix this error.
I have checkout the source code from github for OpenKM Community 6.3.4 version.
While i was able to export a workable OpenKM.war through the terminal command
$ mvn clean compile install
I am not able to build it in eclipse itself with the following steps:
1. Right click project "openkm"
2. Select "run-as"
3. Select "maven build..."
4. Goal set "clean gwt:compile install"
5. Set VM argument "-Xss1024k"
6. Apply & Run
I receive the following erorrlog:
Code: Select all
While i did notice the module com.openkmfrontend.Main does not look right. [ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.4.0:compile (default-cli) on project openkm: GWT Module com.openkmfrontend.Main not found in project sources or resources. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.4.0:compile (default-cli) on project openkm: GWT Module com.openkmfrontend.Main not found in project sources or resources.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: GWT Module com.openkmfrontend.Main not found in project sources or resources.
at org.codehaus.mojo.gwt.shell.CompileMojo.compilationRequired (CompileMojo.java:447)
at org.codehaus.mojo.gwt.shell.CompileMojo.compile (CompileMojo.java:308)
at org.codehaus.mojo.gwt.shell.CompileMojo.doExecute (CompileMojo.java:237)
But i have searched in eclipse for "openkmfrontend", there is nothing like that.
Please tell me how can i fix this error.