summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDecebal Suiu <decebal.suiu@gmail.com>2016-07-08 17:09:37 +0300
committerGitHub <noreply@github.com>2016-07-08 17:09:37 +0300
commit3af8b794e6e1cadc43e85dd6f18e19c63ce90dbb (patch)
tree7b4ed41247dc83aaa1d91273c11f4e3eb0e1a0aa /README.md
parent96af67e195803a0895cd04d3dfc62c84e5f29358 (diff)
downloadpf4j-3af8b794e6e1cadc43e85dd6f18e19c63ce90dbb.tar.gz
pf4j-3af8b794e6e1cadc43e85dd6f18e19c63ce90dbb.zip
Add Troubleshooting section in readme file
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index af3e1cc..a26838e 100644
--- a/README.md
+++ b/README.md
@@ -402,6 +402,17 @@ protected ExtensionFinder createExtensionFinder() {
}
```
+Troubleshooting
+-------------------
+Below are listed some problems that may occur when attempting to use PF4J, and suggestions for solving them.
+
+- **No Extensions Found**
+
+See if you have a file `extensions.idx` in each plugin.
+If file `extensions.idx` doesn't exist then probably it's something wrong with the annotation processing step (enable annotation processing in your IDE or in your Maven script).
+If file `extensions.idx` exists and it's not empty then sure you have a class loader issue (you have the same extension point in two different class loader), in this situation you must remove some libraries (probably the API jar) from plugin.
+Are some resources on the internet related to this subject: [#82](https://github.com/decebals/pf4j/issues/82), [#64](https://github.com/decebals/pf4j/issues/64) and [No extensions found] (https://groups.google.com/forum/#!topic/pf4j/tEQXY_WpD3A).
+
Demo
-------------------
I have a tiny demo application. The demo application is in demo folder.