Unable to build che-ide-gwt-app
See original GitHub issueDescription
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
- che-core-ide-app
- che-ide-gwt-app
- 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
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (6 by maintainers)
Top Results From Across the Web
VS - My project doesnt want to build. 'Failed to build'
And when I'm trying to do something I have always this same error like: PM> update-database The project 'UserManagementApp' failed to build. PM> ......
Read more >Fix Failed to build manifest for Host error in Fortnite - YouTube
Here's how to Fix Failed to build manifest for Host error in Fortnite. Learn more@ https://www.youtube.com/c/ITGuides/search?query=Fortnite.
Read more >Unable to build Android app on Windows #39 - expo/turtle
When running turtle build:android on Windows (turtle version 0.6.0), I get an error stating that it's not supported on my OS: ...
Read more >[Support Guide] Frequently encountered problems during builds
If you have a build on Netlify that is failing with an error message that you don't understand, you are not alone. Here...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ashishmenghani Yes factory is working in Theia based IDE as well. @sunix is our expert in this area.
Issues go stale after
180
days of inactivity.lifecycle/stale
issues rot after an additional7
days of inactivity and eventually close.Mark the issue as fresh with
/remove-lifecycle stale
in a new comment.If this issue is safe to close now please do so.
Moderators: Add
lifecycle/frozen
label to avoid stale mode.