Intellij jar file error does not exist
: .Īt (URLClassLoader.java:381)Īt (ClassLoader.java:424)Īt (ClassLoader.java:357)Īt .PDIServiceBean.ExecutePDIJob(PDIServiceBean.java:40)Īt 0(Native Method)Īt (NativeMethodAccessorImpl.java:62)Īt (DelegatingMethodAccessorImpl.java:43)Īt .invoke(Method.java:497)Īt .AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)Īt .ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)Īt .ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)Īt .MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)Īt .(ServiceInterceptor.java:64)Īt (Unknown Source) When i create my object and save it, I’m trying to invoke my code, but I get the following message: The coordinates must contain at least two parts: “mylibrary:myfile”, where “mylibrary” is an arbitrary group (it is ignored) and “myfile” - name of the JAR file (myfile.jar).Ĭorrection: the above solved my problem in the sense that now, the application server starts, but I’m encountering this new issue. If you have a standalone JAR, you have to add a file-based repository to adle manually, for example:Īfter that, place your JAR into this directory and specify the dependency as described above. After saving changes, Gradle will recompile the project and recreate IntelliJ files.Add compile dependency for “core” module and specify its coordinates, like “activemq:activemq-client:5.13.0”.In Studio, go to Project Properties > Edit > Advanced.If your JAR can be found in a Maven repository (local or Maven Central), just add a dependency for the “core” module: But Gradle does not know about this dependency and cannot assemble the project. That’s why it does not report any errors. Perhaps you have directly added your JAR as a module dependency to your project structure in IntelliJ. 19:26:14,280 DEBUG Total time: 2.744 secsĮven though in IntelliJ it doesn’t report any errors as I was able to successfully add the JAR, I wonder where it should be placed for a CUBA project. Run with -info or -debug option to get more log output. 19:26:14,274 DEBUG Run with -stacktrace option to get the stack trace. 19:26:14,269 DEBUG > Compilation failed see the compiler error output for details. 19:26:14,268 DEBUG Execution failed for task ':app-core:compileJava'. 19:26:14,264 DEBUG FAILURE: Build failed with an exception. 19:26:14,250 DEBUG Note: Recompile with -Xlint:unchecked for details. 19:26:14,249 DEBUG Note: C:\Users\Francis\studio-projects\jujuflow\modules\core\src\com\company\jujuflow\service\PDIServiceBean.java uses unchecked or unsafe operations. 19:26:14,248 DEBUG location: class PDIServiceBean
![intellij jar file error does not exist intellij jar file error does not exist](https://i.stack.imgur.com/yxsij.png)
19:26:14,247 DEBUG symbol: variable JujuPDI
![intellij jar file error does not exist intellij jar file error does not exist](https://i.stack.imgur.com/3fkKY.png)
19:26:14,244 DEBUG JujuPDI.ExecuteJob(migrationJob, variables,parameters) 19:26:14,241 DEBUG C:\Users\Francis\studio-projects\jujuflow\modules\core\src\com\company\jujuflow\service\PDIServiceBean.java:40: error: cannot find symbol 19:26:14,183 DEBUG :app-core:compileJavaC:\Users\Francis\studio-projects\jujuflow\modules\core\src\com\company\jujuflow\service\PDIServiceBean.java:7: error: package does not exist
![intellij jar file error does not exist intellij jar file error does not exist](https://d2908q01vomqb2.cloudfront.net/0716d9708d321ffb6a00818614779e779925365c/2019/03/25/intellij-pom.png)
But when I go to start the application server in Studio, it fails.