java - Neo4j: making one JAR package from app with Neo4j libraries (duplication 'META-INF/...' files) [RESOLVED] -



java - Neo4j: making one JAR package from app with Neo4j libraries (duplication 'META-INF/...' files) [RESOLVED] -

i understand, source of issue. i've saw topic here.

and here possible solution.

but lastly 1 doesn't work me.

have problem making 1 jar bundle (with maven) of app neo4j libraries within. when utilize jar in project - works fine, when seek launch web-interface - above mentioned issue. app throws exception next lines:

01:19:49.727 [main] info o.e.jetty.server.serverconnector - started serverconnector@7e75bf2d{http/1.1}{0.0.0.0:7474} oct 13, 2014 1:19:59 com.sun.jersey.spi.container.containerresponse write severe: message body author java class java.lang.string, , java type class java.lang.string, , mime media type application/json not found

and info in in web-interface doesn't displayed, expected.

it realy of import bundle 1 jar next app distribution. thanks

i've resolved issue. in case in add-on this 'shade-plugin' configuration - add together next lines. add together works fine:

... <configuration> ... <filters> <filter> <artifact>*:*</artifact> <excludes> <exclude>meta-inf/*.sf</exclude> <exclude>meta-inf/*.dsa</exclude> <exclude>meta-inf/*.rsa</exclude> </excludes> </filter> </filters> ... </configuration> ...

i hop helps someone...

java maven jar neo4j

Comments

Popular posts from this blog

php - Edges appear in image after resizing -

ios8 - iOS custom keyboard - preserve state between appearances -

Delphi change the assembly code of a running process -