che: Unable to build che-ide-gwt-app

Description

I am unable to build che-ide-gwt-app locally. I am trying to test a small change in the webapp and am trying to create a new build of my changes. To achieve this I intend to do the 3 builds sequentially

  1. che-core-ide-app
  2. che-ide-gwt-app
  3. assembly I have been able to build 1 and 3 successfully but the build for che-ide-gwt-app fails

Reproduction Steps

Reproduce this by running the docker build command:

docker run -it --rm --name build-che -v “/home/malware/.m2:/home/user/.m2” -v /home/malware/Projects/che-intuhire:/home/user/che-build -w /home/user/che-build/ide/che-ide-gwt-app eclipse/che-dev mvn -DskipTests=true -Dfindbugs.skip=true -Dgwt.compiler.localWorkers=2 -T 1C -Dmdep.analyze.skip=true -Dlicense.skip=true -Pnative clean install

OS and version:

Distributor ID: Ubuntu Description: Ubuntu 17.10 Release: 17.10 Codename: artful

Diagnostics:

[WARNING] Dec 05, 2018 12:32:35 PM java.util.prefs.FileSystemPreferences$1 run
[WARNING] INFO: Created user preferences directory.
[INFO] Compiling module org.eclipse.che.ide.IDE
[INFO]    Ignored 100 units with compilation errors in first pass.
[INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
[INFO]    Computing all possible rebind results for 'com.google.gwt.useragent.client.UserAgentAsserter'
[INFO]       Rebinding com.google.gwt.useragent.client.UserAgentAsserter
[INFO]          Checking rule <generate-with class='com.google.gwt.editor.rebind.SimpleBeanEditorDriverGenerator'/>
[INFO]             [WARN] Detected warnings related to 'com.google.gwt.editor.client.SimpleBeanEditorDriver'.   Are validation-api-<version>.jar and validation-api-<version>-sources.jar on the classpath?
[INFO]             Specify -logLevel DEBUG to see all errors.
[INFO]             [WARN] Unknown type 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in deferred binding rule
[INFO]    Computing all possible rebind results for 'org.eclipse.che.ide.client.inject.IDEInjector'
[INFO]       Rebinding org.eclipse.che.ide.client.inject.IDEInjector
[INFO]          Checking rule <generate-with class='org.eclipse.che.util.ExtensionRegistryGenerator'/>
[INFO]             Tracing compile failure path for type 'org.eclipse.che.ide.client.inject.IDEInjector'
[INFO]                [ERROR] Errors in 'file:/home/user/che-build/ide/che-ide-gwt-app/target/generated-sources/gen/org/eclipse/che/ide/client/inject/IDEInjector.java'
[INFO]                   [ERROR] org.eclipse.che.ide.bootstrap.IdeBootstrap cannot be resolved to a type
[INFO]                [ERROR] Errors in 'jar:file:/home/user/.m2/repository/org/eclipse/che/core/che-core-ide-app/6.14.0-SNAPSHOT/che-core-ide-app-6.14.0-SNAPSHOT.jar!/org/eclipse/che/ide/bootstrap/IdeBootstrap.java'
[INFO]                   [ERROR] org.eclipse.che.ide.bootstrap.ExtensionInitializer cannot be resolved to a type
[INFO]                [ERROR] Errors in 'jar:file:/home/user/.m2/repository/org/eclipse/che/core/che-core-ide-app/6.14.0-SNAPSHOT/che-core-ide-app-6.14.0-SNAPSHOT.jar!/org/eclipse/che/ide/bootstrap/ExtensionInitializer.java'
[INFO]                   [ERROR] org.eclipse.che.ide.client.ExtensionManager cannot be resolved to a type
[INFO]                [ERROR] Errors in 'file:/home/user/che-build/ide/che-ide-gwt-app/target/generated-sources/gen/org/eclipse/che/ide/client/ExtensionManager.java'
[INFO]                   [ERROR] org.eclipse.che.ide.ext.java.client.JavaExtension cannot be resolved to a type
[INFO]                [ERROR] Errors in 'jar:file:/home/user/.m2/repository/org/eclipse/che/plugin/che-plugin-java-ext-lang-client/6.14.0-SNAPSHOT/che-plugin-java-ext-lang-client-6.14.0-SNAPSHOT.jar!/org/eclipse/che/ide/ext/java/client/JavaExtension.java'
[INFO]                   [ERROR] org.eclipse.che.ide.ext.java.client.action.FileStructureAction cannot be resolved to a type
[INFO]                [ERROR] Errors in 'jar:file:/home/user/.m2/repository/org/eclipse/che/plugin/che-plugin-java-ext-lang-client/6.14.0-SNAPSHOT/che-plugin-java-ext-lang-client-6.14.0-SNAPSHOT.jar!/org/eclipse/che/ide/ext/java/client/action/FileStructureAction.java'
[INFO]                   [ERROR] org.eclipse.che.ide.ext.java.client.navigation.filestructure.FileStructurePresenter cannot be resolved to a type
[INFO]                [ERROR] Errors in 'jar:file:/home/user/.m2/repository/org/eclipse/che/plugin/che-plugin-java-ext-lang-client/6.14.0-SNAPSHOT/che-plugin-java-ext-lang-client-6.14.0-SNAPSHOT.jar!/org/eclipse/che/ide/ext/java/client/navigation/filestructure/FileStructurePresenter.java'
[INFO]                   [ERROR] org.eclipse.che.ide.ext.java.client.navigation.filestructure.FileStructureWindow cannot be resolved to a type
[INFO]                [ERROR] Errors in 'jar:file:/home/user/.m2/repository/org/eclipse/che/plugin/che-plugin-java-ext-lang-client/6.14.0-SNAPSHOT/che-plugin-java-ext-lang-client-6.14.0-SNAPSHOT.jar!/org/eclipse/che/ide/ext/java/client/navigation/filestructure/FileStructureWindow.java'
[INFO]                   [ERROR] org.eclipse.che.ide.ext.java.client.navigation.filestructure.NodeFactory cannot be resolved to a type
[INFO]                [ERROR] Errors in 'jar:file:/home/user/.m2/repository/org/eclipse/che/plugin/che-plugin-java-ext-lang-client/6.14.0-SNAPSHOT/che-plugin-java-ext-lang-client-6.14.0-SNAPSHOT.jar!/org/eclipse/che/ide/ext/java/client/navigation/filestructure/FileStructureView.java'
[INFO]                   [ERROR] org.eclipse.che.ide.ext.java.client.navigation.filestructure.NodeFactory cannot be resolved to a type
[INFO]                [ERROR] Errors in 'jar:file:/home/user/.m2/repository/org/eclipse/che/plugin/che-plugin-java-ext-lang-client/6.14.0-SNAPSHOT/che-plugin-java-ext-lang-client-6.14.0-SNAPSHOT.jar!/org/eclipse/che/ide/ext/java/client/navigation/filestructure/NodeFactory.java'
[INFO]                   [ERROR] org.eclipse.che.ide.ext.java.client.navigation.filestructure.SymbolNode cannot be resolved to a type
[INFO]                [ERROR] Errors in 'jar:file:/home/user/.m2/repository/org/eclipse/che/plugin/che-plugin-java-ext-lang-client/6.14.0-SNAPSHOT/che-plugin-java-ext-lang-client-6.14.0-SNAPSHOT.jar!/org/eclipse/che/ide/ext/java/client/navigation/filestructure/SymbolNode.java'
[INFO]                   [ERROR] org.eclipse.che.ide.ext.java.client.util.SymbolIcons cannot be resolved to a type
[INFO]                [ERROR] Errors in 'jar:file:/home/user/.m2/repository/org/eclipse/che/plugin/che-plugin-java-ext-lang-client/6.14.0-SNAPSHOT/che-plugin-java-ext-lang-client-6.14.0-SNAPSHOT.jar!/org/eclipse/che/ide/ext/java/client/util/SymbolIcons.java'
[INFO]                   [ERROR] Line 57: Visibility cannot be resolved to a variable
[INFO]                   [ERROR] Line 88: Visibility cannot be resolved to a type
[INFO]                   [ERROR] Line 23: Visibility cannot be resolved to a type
[INFO]                   [ERROR] Line 26: Visibility cannot be resolved to a type
[INFO]                   [ERROR] Line 71: Visibility cannot be resolved to a variable
[INFO]                   [ERROR] Line 17: The import org.eclipse.che.jdt.ls.extension.api.Visibility cannot be resolved
[INFO]                   [ERROR] Line 27: Visibility cannot be resolved to a type
[INFO]                   [ERROR] Line 88: The method getVisiblity() is undefined for the type ExtendedSymbolInformation
[INFO]                   [ERROR] Line 89: Visibility cannot be resolved to a type
[INFO]                   [ERROR] Line 90: Visibility cannot be resolved to a variable
[INFO]                   [ERROR] Line 43: Visibility cannot be resolved to a variable
[INFO]                   [ERROR] Line 29: Visibility cannot be resolved to a variable
[INFO]    [ERROR] Errors in 'org/eclipse/che/ide/client/IDE.java'
[INFO]       [ERROR] Line 24: Failed to resolve 'org.eclipse.che.ide.client.inject.IDEInjector' via deferred binding
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:52 min (Wall Clock)
[INFO] Finished at: 2018-12-05T12:33:09Z
[INFO] Final Memory: 109M/1179M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "native" could not be activated because it does not exist.
[ERROR] Failed to execute goal net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-8:compile (default-compile) on project che-ide-gwt-app: GWT exited with status 1 -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 17 (6 by maintainers)

Most upvoted comments

@ashishmenghani Yes factory is working in Theia based IDE as well. @sunix is our expert in this area.