You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-1Lines changed: 27 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,4 +40,30 @@ To create application bundle, run the following command:
40
40
mvn clean package -P mac
41
41
```
42
42
43
-
This will produce `itext-rups.app` in your `target` folder (in itext-rups-{project.version} subfolder). You can copy it to your 'Applications' folder and run it as any other application assuming you have Java installed on your system. Maven 'appbundle' should handle executable file permissions automatically, but you can always give the rights manually like this: `chmod +x /Applications/itext-rups.app/Contents/MacOS/*`.
43
+
This will produce `itext-rups.app` in your `target` folder (in itext-rups-{project.version} subfolder). You can copy it to your 'Applications' folder and run it as any other application assuming you have Java installed on your system. Maven 'appbundle' should handle executable file permissions automatically, but you can always give the rights manually like this: `chmod +x /Applications/itext-rups.app/Contents/MacOS/*`.
44
+
45
+
##### Troubleshooting
46
+
47
+
-- Error running mvn clean package...
48
+
49
+
mvn clean package
50
+
[ERROR] Error executing Maven.
51
+
[ERROR] java.lang.IllegalStateException: Unable to load cache item
52
+
[ERROR] Caused by: Unable to load cache item
53
+
[ERROR] Caused by: Could not initialize class com.google.inject.internal.cglib.core.$MethodWrapper
54
+
55
+
This may be caused by using an unsupported version of java. Try downgrading or upgrading your java version as appropriate.
56
+
57
+
-- Error generating javadocs
58
+
59
+
[ERROR] MavenReportException: Error while generating Javadoc: Unable to find javadoc command: The environment variable JAVA_HOME is not correctly set.
60
+
org.apache.maven.reporting.MavenReportException: Unable to find javadoc command: The environment variable JAVA_HOME is not correctly set.
61
+
62
+
Make sure to define your JAVA_HOME pointing to your jdk installation folder. Or make sure that javadoc is on your command path.
63
+
64
+
-- Warnings downlaoding package-lists
65
+
66
+
[WARNING] Error fetching link: http://dom4j.github.io/apidocs/package-list. Ignored it
67
+
68
+
Some package lists may be unavailable (404 error). This will not cause the build to fail so can be ignored.
0 commit comments