How to export and run a project which is based on GUI designer form
Hi,
Im developing a GUI project by Intellij GUI designer(intellij idea14). I formed a main method and build the project by maven, while launching it, i got following errors.
ZhouQuintusdeMacBook-Pro:target quintus$ java -jar adapatation-viewer-0.1-SNAPSHOT-jar-with-dependencies.jar
Error: Could not find or load main class com.intellij.rt.execution.application.AppMain
PS: i did add com.intellij.form_rt in dependencies
attachments are the main class and pom file, how anyone could help!
thanks in advance.
Attachment(s):
AdaptationViewerGUIForm.java.zip
pom.xml
Please sign in to leave a comment.
See my answer here: http://stackoverflow.com/a/10279110/104891 .
Hi
Thank you very much!
After building artifact, where could i found the generated jar? thanks!
Regards
Yuding
You configure it in the Artifact: https://www.jetbrains.com/idea/help/configuring-artifacts.html .
Hi Serge,
thank you very much! I've found it. One last question, is it able to build the artifact by maven, e.g. GUI designer maven plugin etc. something like that. Since i want the source code to be clean for building in a portable way.
Regards
Yuding
http://stackoverflow.com/questions/19049253/intelij-idea-gui-designer-maven