IntelliJ GUI Designer Maven Executable JAR Export

That happens because Maven doesn’t really know how to compile GUI created with IntelliJ GUI Designer. That’s why you have to explicitly instruct IntelliJ to generate all the code it understands and Maven doesn’t.

To do this go to GUI Designer settings and change the Generate GUI into value to Java Source files. From now on IntelliJ will include all the code responsible for setting UI up in the class itself and all the external tools, like Maven, Eclipse will work properly.

Leave a Comment