Cannot compile war file from IntelliJ
See original GitHub issueThanks for creating this project! I am trying to add vue-gwt to an existing project I have in IntelliJ and superdevmode is working great 👍
But when I try to compile to a war using the gwt compiler I get the following errors:
[ERROR] Errors in 'jar:file:/Users/abm/UddataPlus/portal/lib/vue-gwt-1.0-beta-9.jar!/com/axellience/vuegwt/core/client/component/options/VueComponentOptions.java'
[ERROR] Line 43: No source code is available for type javax.inject.Provider<T>; did you forget to inherit a required module?
Tracing compile failure path for type 'com.axellience.vuegwt.core.client.component.options.VueComponentOptions'
[ERROR] Errors in 'jar:file:/Users/abm/UddataPlus/portal/lib/vue-gwt-1.0-beta-9.jar!/com/axellience/vuegwt/core/client/component/options/VueComponentOptions.java'
[ERROR] Line 43: No source code is available for type javax.inject.Provider<T>; did you forget to inherit a required module?
[ERROR] Errors in 'jar:file:/Users/abm/UddataPlus/portal/lib/vue-gwt-1.0-beta-9.jar!/com/axellience/vuegwt/core/client/directive/options/VueDirectiveOptions.java'
[ERROR] com.axellience.vuegwt.core.client.directive.VueDirective cannot be resolved to a type
[ERROR] Errors in 'jar:file:/Users/abm/UddataPlus/portal/lib/vue-gwt-1.0-beta-9.jar!/com/axellience/vuegwt/core/client/component/IsVueComponent.java'
[ERROR] com.axellience.vuegwt.core.client.component.VueComponent cannot be resolved to a type
[ERROR] Errors in 'jar:file:/Users/abm/UddataPlus/portal/lib/vue-gwt-1.0-beta-9.jar!/com/axellience/vuegwt/core/client/directive/VueDirective.java'
[ERROR] com.axellience.vuegwt.core.client.vnode.VNode cannot be resolved to a type
[ERROR] Errors in 'jar:file:/Users/abm/UddataPlus/portal/lib/vue-gwt-1.0-beta-9.jar!/com/axellience/vuegwt/core/client/component/VueComponent.java'
[ERROR] com.axellience.vuegwt.core.client.component.options.VueComponentOptions cannot be resolved to a type
[ERROR] Errors in 'jar:file:/Users/abm/UddataPlus/portal/lib/vue-gwt-1.0-beta-9.jar!/com/axellience/vuegwt/core/client/vnode/VNode.java'
[ERROR] com.axellience.vuegwt.core.client.component.IsVueComponent cannot be resolved to a type
I have included all transitive dependencies with the library. I am not sure how to move forward and get a build working.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
Using Intellij to Build War and Deploy to Tomcat - Stack Overflow
This creates a target directory with a WAR file. I copy that war file into the webapps directory of my Tomcat.
Read more >War file does not get created – IDEs Support (IntelliJ Platform)
I am trying to get IntelliJ to automatically assemble and deploy my war file to a specified directory, but for some reason this...
Read more >IntelliJ does not create WAR properly files for run/debug ...
IntelliJ does not create WAR properly files for run/debug. Missing files from webapps folder. · Make sure tomcat is installed (I used 8.0.5)...
Read more >Not able to build WAR correctly for Java Enterprise
{{ (>_<) }} This version of your browser is not supported. Try upgrading to the latest stable version. Something went seriously wrong. User...
Read more >Configure Web application deployment - IntelliJ IDEA - JetBrains
Open the Project Structure dialog (e.g. Ctrl+Alt+Shift+S ). · Click Artifacts to open the Artifacts page. · Do one of the following: To...
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
It might be? If you have time could you try to fix it? You can fork the project and clone the develop branch, do the change,
mvn clean install
it and then try to depend to the Beta-10 SNAPSHOT on your project to see if it fix it 👍. That would be a great first PR 👍Thank you for creating the issue 👍 . Are you using either GIN or Dagger2 in your project? Vue GWT creates the injection methods in the generated component factories, in case you inject them, so apparently the GWT compiler can’t find the source for those interfaces? Not sure why it works in Maven and not in your case though 😦