I have the latest Java version installed as you can see, but it still tells me the message. Moreover, I can not load any projects because it gets stuck in the gradle building process. Any idea?
It is working fine after reinstalling the JDK(500mb) pack, rather than the update (66mb).
I'm setting up Groovy tests and none of the Groovy classes (Spock and regular classes) are being compiled. In other words, no .class in target/
Details and conditions:
This is a maven project.
I have this working natively in Mac IntelliJ. I am seeing the error in an Ubuntu VM.
Mac version (working) is IJ v.13, Ubuntu version (broken) is IJ v.14.
Groovy plugin is enabled, and Spock plugin is installed and enabled.
I tried everything in Groovy file does not compile in Intellij IDEA, with no luck.
Nothing in the IntelliJ docs or google searches I could thank of helps.
Thanks for your help!
I have a vb.net project that i would like to build using travis ci but travis only runs on linux so I have to use xbuild. I have the build log here. Can anybody tell me why the build is failing with this error?
Error executing tool '/usr/bin/vbnc': ApplicationName='/usr/bin/vbnc', CommandLine='/noconfig #/tmp/tmp3b9f993d.tmp', CurrentDirectory='/home/travis/build/RX14/SWRChart/src'
The full build log is available here and the source is available here
It Seems that mono doesn't seem to support WPF so this is pointless. Oops.
I'm compiling a project that works OK in Eclipse, and builds fine with ant, but in IntelliJ IDEA gives:
Internal groovyc error: code 1
How can I resolve this? Other error messages include:
1:35:46 PM Unknown Natures Detected
Imported projects contain unknown natures:
org.eclipse.jdt.groovy.core.groovyNature
Some settings may be lost after import.
1:43:55 PM Compilation completed with 1 error and 7 warnings in 20 sec
Groovyc: Cannot compile Groovy files: no Groovy library is defined for module
Groovy itself is installed on Linux. Adding it as a groovy compiler in settings does not affect the behavior:
> groovy --version
Groovy Version: 1.7.4 JVM: 1.6.0_24
Apparently you tried to import an Eclipse project into IDEA, and that isn't good enough. (Groovy) Eclipse comes with its own version of Groovy, whereas in IDEA, you have to add groovy-all-1.7.4.jar (or whatever version you want to use) as a compile dependency.
You have to add JAXB dependencies if you are using Groovy 2.5.3 + Java 11 (also check out Java 11 related change). Groovy comes with extra JAXB Jars so we can add them. Open 'Project Structure' dialog, then select 'Dependencies' tab and add the dependencies
Changing the project SDK from Java 15 to Java 8 seemed to have magically fixed the same problem on my machine.
Steps:
Go to File > Project structure... (may differ on Mac/Linux).
Under Project Settings, select Project.
In Project SDK: dropdown, choose a different version of the JDK installed.
Click Apply & OK at the bottom of the dialog.
** Rerun your program.
This worked for me!!
Read the log before the "Internal groovyc error: code 1", then it should show you a groovy version mismatch. Change your groovy version from the dependency list as per the log.
Ex. compile 'org.codehaus.groovy:groovy-all:2.4.11'
Move the Groovy dependency in the module settings to the top right after JDK.
I could make it work just by reestart intellij and invalidate the caches.
It can be found (for intelliJ 2018.1):
File -> Invalidate Caches/restart -> Invalidate and Restart
I found this solution which worked totally for me. You can use this link for fixing this problem
resolving-groovyc-internal-groovyc-error-code-1
I had to reinstall groovy SDK and it started working.
i was use wrong SDK ,please cheak your SDK version
I have a native c++ program exe which builds successfully and runs successfully in the release version. However when i try to run debug exe, it throws an exception "This application has failed to start because MSVCP80D.dll was not found. RE-installing the application may fix the proble,
Try statically linking the runtime libraries if you need to run a debug build on a PC that does not have Visual Studio installed.
http://msdn.microsoft.com/en-us/library/abx4dbyh(v=VS.100).aspx
That is because you don't have the DEBUG version of the C/C++ runtime on that machine, only the RELEASE builds. Debug builds are meant only for development and debugging. You should not install/distribute them, only Release builds. And you should install the appropriate redistributable with the VC++ runtimes.