Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- java.lang.UnsatisfiedLinkError: no jnotify in java.library.path
- at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1738)
- at java.lang.Runtime.loadLibrary0(Runtime.java:823)
- at java.lang.System.loadLibrary(System.java:1028)
- at net.contentobjects.jnotify.linux.JNotify_linux.<clinit>(Unknown Source)
- at net.contentobjects.jnotify.linux.JNotifyAdapterLinux.<init>(Unknown Source)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- <dependency>
- <groupId>net.contentobjects</groupId>
- <artifactId>jnotify</artifactId>
- <version>0.93</version>
- </dependency>
- <dependency>
- <groupId>net.contentobjects</groupId>
- <artifactId>jnotify</artifactId>
- <version>0.93</version>
- <type>so</type>
- </dependency>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <argLine>-Djava.library.path=target/lib/</argLine>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy</id>
- <phase>compile</phase>
- <goals>
- <goal>copy</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>net.contentobjects</groupId>
- <artifactId>jnotify</artifactId>
- <version>0.93</version>
- <type>so</type>
- <overWrite>true</overWrite>
- <outputDirectory>${project.build.directory}/lib</outputDirectory>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement