- #Could not find or load main class intellij install
- #Could not find or load main class intellij code
I unzipped mondrian-3.4.1.zip and copied "demo/FoodMartCreateData.sql" to "C:\Users\Enomine\Downloads\apache-tomcat-8.0.3-windows-圆4\apache-tomcat-8.0.3\webapps\mondrian".I unzipped mondrian-3.6.1.jar and copied all content, including "MondrianFoodMartLoader.class" from "mondrian/test/loader/" to "C:\Users\Enomine\Downloads\apache-tomcat-8.0.3-windows-圆4\apache-tomcat-8.0.3\webapps\mondrian\test\loader"."" from ""Īll to "C:\Users\Enomine\Downloads\apache-tomcat-8.0.3-windows-圆4\apache-tomcat-8.0.3\common"Īnd all to "C:\Users\Enomine\Downloads\apache-tomcat-8.0.3-windows-圆4\apache-tomcat-8.0.3\webapps\mondrian\WEB-INF\lib" "serializer.jar", "xalan.jar", "xercesImpl.jar", "xml-apis.jar" from "xalan-j_2_7_1-bin.zip" I stopped Tomcat with doubleclick on ".\apache-tomcat-8.0.3\bin\shutdown.bat".I started Tomcat with doubleclick on ".\apache-tomcat-8.0.3\bin\startup.bat" which lead Tomcat to extract the "mondrian.war" to the subfolder ".\apache-tomcat-8.0.3\webapps\mondrian".
I unzipped mondrian-3.5.0.zip and copied "lib/mondrian.war" to "C:\Users\Enomine\Downloads\apache-tomcat-8.0.3-windows-圆4\apache-tomcat-8.0.3\webapps".I installed postgres and created the new table "foodmart".The last time it was concluded was at mondrian-3.5.0.zipĬode: C:\Program Files\tools\Java\jdk1.8.0\bin Mondrian-3.6.1.jar does not contain this file, how described in the official documentation. For all who can´t find "lib/mondrian.war" in "mondrian-3.6.1":.The last time it was concluded was at mondrian-3.4.1.zip Mondrian-3.6.1.jar does not contain these files, which are described in the official documentation. For all who can´t find "demo/FoodMartCreateData.sql" or "demo/access/MondrianFoodMart.mdb" in "mondrian-3.6.1":.
#Could not find or load main class intellij install
I am executing with the install documentation on: jar-file (in this case it was ): Take care with the quote sign. For everybody who gets an error caused of a "not found" mainclass from the 2nd.
Since IntelliJ typically knows about any changes going on, this surprised me, and took me a little time to figure out, so I thought I'd share.Code: ", because of wrong character set, which caused the machine to interpred the command wrong. Now the out directory out/production/foo should be restored. If that's the case, you should select a file in the module, for example 'bar.java' and then select Build | Recompile 'bar.java'. If you manually delete it, the build system may not know that it needs to be rebuilt.Įven worse, if you select Build | Build module 'foo', it still may not rebuild the module. For example, if I have a module named "foo", there should be a directory named foo under out/production.
One situation that can cause this to happen is if you're using modules and you manually delete the module out directory.
#Could not find or load main class intellij code
The point I'm particularly wanting to share is that some times, the code is not compiled (built), even though your run configuration specifies "Build" in the "Before launch" section of the configuration panel. If the compiled code is not in the location expected, you'll get the error. That's because, when you're trying to run the program, it compiles the code first, and puts the compiled result to the out location, and then it tries to load the compiled code from the out location. As pointed out, the error message is basically a result of the out folder. I know this was asked a while ago, but I was just stumbling over this issue and thought my findings might help others. Is there any change that i have to make in the compiler settings? Or is it the code. Please contact the librarian for further details") ("You have succesfully issued the book") The following piece of code keeps does not even compile and keeps giving me the error: Error: Could not find or load main class libTest But some of the most popular and common errors are often faced by programmers who are new in programming. It is very common to face errors and exceptions in the Java programming language. I'm a beginner in Java and am trying to run my code using IntelliJ that I just installed as my IDE with JDK 1.7. Could Not Find or Load Main Class in Java.