Repository navigation
Home
Hackusate_PvP edited this page Jul 29, 2023
·
24 revisions
Wiki is under construction. There may be parts that are outdated and unfinished.
Below is all the known issues that occur when setting up the project. Use control f to find your error. If its not listed create an issue report.
This error occurs because you need to specify the main-class in the shading plugin inside the pom.xml. RenJa comes with a main class you just have to call it.
Full shading plugin.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>me.piitex.renjava.Main</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>Part that is needed.
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>me.piitex.renjava.Main</mainClass>
</transformer>
</transformers>
</configuration>