ava.lang.SecurityException: class "org.apache.poi.POIXMLDocumentPart"'s signer information does not match signer information of other classes in the same package

2016-12-10 Thread larry google groups
I've never worked much with Java, so dealing with stuff like Maven is the 
stuff I understand least about Clojure. 

I've added these 3 items to the dependencies that I list in project.clj


 [org.apache.poi/poi "3.9"]   
 [org.apache.poi/poi-ooxml "3.9"]
 [org.eclipse.birt.runtime/org.eclipse.birt.runtime "4.2.2"]

When I run "lein uberjar" I get this: 

java.lang.SecurityException: class "org.apache.poi.POIXMLDocumentPart"'s 
signer information does not match signer information of other classes in 
the same package

How do I get around this?




-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ava.lang.SecurityException: class "org.apache.poi.POIXMLDocumentPart"'s signer information does not match signer information of other classes in the same package

2016-12-10 Thread larry google groups
Not sure how to exclude an imported Java class?

lein deps :tree
Possibly confusing dependencies found:
[lein-checkall "0.1.1"] -> [jonase/eastwood "0.0.2"] -> 
[org.clojure/tools.namespace "0.1.2"]
 overrides
[lein-checkall "0.1.1"] -> [lein-kibit "0.0.8"] -> [jonase/kibit "0.0.8"] 
-> [org.clojure/tools.namespace "0.2.1"]
 and
[lein-checkall "0.1.1"] -> [lein-bikeshed "0.1.3"] -> 
[org.clojure/tools.namespace "0.2.3"]

Consider using these exclusions:
[lein-checkall "0.1.1" :exclusions [org.clojure/tools.namespace]]
[lein-checkall "0.1.1" :exclusions [org.clojure/tools.namespace]]

Retrieving org/clojure/tools.nrepl/0.2.12/tools.nrepl-0.2.12.pom from 
central
Retrieving 
clojure-complete/clojure-complete/0.2.4/clojure-complete-0.2.4.pom from 
clojars
Retrieving org/clojure/tools.nrepl/0.2.12/tools.nrepl-0.2.12.jar from 
central
Retrieving 
clojure-complete/clojure-complete/0.2.4/clojure-complete-0.2.4.jar from 
clojars
 [clj-stacktrace "0.2.7"]
 [clj-time "0.6.0"]
   [joda-time "2.2"]
 [clojure-complete "0.2.4" :exclusions [[org.clojure/clojure]]]
 [com.taoensso/timbre "4.3.1"]
   [com.taoensso/encore "2.36.2"]
 [com.taoensso/truss "1.1.1"]
 [org.clojure/tools.reader "0.10.0"]
   [io.aviso/pretty "0.1.23"]
 [dire "0.5.4"]
   [org.clojure/core.incubator "0.1.3"]
   [robert/hooke "1.3.0"]
 [expectations "2.0.9"]
   [junit "4.8.1"]
 [javax.xml.stream/stax-api "1.0-2"]
 [me.raynes/fs "1.4.4"]
   [org.apache.commons/commons-compress "1.4"]
 [org.tukaani/xz "1.0"]
 [org.apache.poi/poi-ooxml "3.9"]
   [dom4j "1.6.1"]
   [org.apache.poi/poi-ooxml-schemas "3.9"]
 [org.apache.xmlbeans/xmlbeans "2.3.0"]
   [stax/stax-api "1.0.1"]
 [org.apache.poi/poi "3.9"]
   [commons-codec "1.5"]
 [org.clojure/clojure "1.7.0"]
 [org.clojure/data.xml "0.1.0-beta1"]
 [org.clojure/test.check "0.9.0"]
 [org.clojure/tools.nrepl "0.2.12" :exclusions [[org.clojure/clojure]]]
 [org.eclipse.birt.runtime "4.2.2"]
   [commons-cli "1.0"]
 [commons-lang "1.0"]
 [commons-logging "1.0"]
   [milyn/flute "1.3"]
   [org.eclipse.birt.runtime.3_7_1/Tidy "1"]
   [org.eclipse.birt.runtime.3_7_1/com.lowagie.text "2.1.7"]
   [org.eclipse.birt.runtime.3_7_1/derby "10.5.101"]
   [org.eclipse.birt.runtime.3_7_1/javax.wsdl "1.5.1"]
   [org.eclipse.birt.runtime.3_7_1/org.apache.batik.bridge "1.6.0"]
   [org.eclipse.birt.runtime.3_7_1/org.apache.batik.css "1.6.0"]
   [org.eclipse.birt.runtime.3_7_1/org.apache.batik.dom.svg "1.6.0"]
   [org.eclipse.birt.runtime.3_7_1/org.apache.batik.dom "1.6.0"]
   [org.eclipse.birt.runtime.3_7_1/org.apache.batik.ext.awt "1.6.0"]
   [org.eclipse.birt.runtime.3_7_1/org.apache.batik.parser "1.6.0"]
   [org.eclipse.birt.runtime.3_7_1/org.apache.batik.pdf "1.6.0"]
   [org.eclipse.birt.runtime.3_7_1/org.apache.batik.svggen "1.6.0"]
   [org.eclipse.birt.runtime.3_7_1/org.apache.batik.transcoder "1.6.0"]
   [org.eclipse.birt.runtime.3_7_1/org.apache.batik.util.gui "1.6.0"]
   [org.eclipse.birt.runtime.3_7_1/org.apache.batik.util "1.6.0"]
   [org.eclipse.birt.runtime.3_7_1/org.apache.batik.xml "1.6.0"]
   [org.eclipse.birt.runtime.3_7_1/org.apache.commons.codec "1.3.0"]
   [org.eclipse.birt.runtime.3_7_1/org.apache.xerces "2.9.0"]
   [org.eclipse.birt.runtime.3_7_1/org.apache.xml.resolver "1.2.0"]
   [org.eclipse.birt.runtime.3_7_1/org.apache.xml.serializer "2.7.1"]
   [org.eclipse.birt.runtime.3_7_1/org.mozilla.javascript "1.7.2"]
   [org.eclipse.birt.runtime.3_7_1/org.w3c.css.sac "1.3.0"]
   [org.eclipse.birt.runtime.3_7_1/org.w3c.dom.smil "1.0.0"]
   [org.eclipse.birt.runtime.3_7_1/org.w3c.dom.svg "1.1.0"]
   [org.eclipse.birt.runtime/com.ibm.icu "4.4.2.v20110823"]
   [org.eclipse.birt.runtime/javax.xml.stream "1.0.1.v201004272200"]
   [org.eclipse.birt.runtime/org.apache.commons.logging 
"1.0.4.v201101211617"]
   [org.eclipse.birt.runtime/org.eclipse.core.contenttype 
"3.4.200.v20120523-2004"]
   [org.eclipse.birt.runtime/org.eclipse.core.expressions 
"3.4.401.v20120912-155018"]
   [org.eclipse.birt.runtime/org.eclipse.core.filesystem 
"1.3.200.v20130115-145044"]
   [org.eclipse.birt.runtime/org.eclipse.core.jobs 
"3.5.300.v20120912-155018"]
   [org.eclipse.birt.runtime/org.eclipse.core.resources 
"3.8.1.v20121114-124432"]
   [org.eclipse.birt.runtime/org.eclipse.core.runtime 
"3.8.0.v20120912-155025"]
  
 
[org.eclipse.birt.runtime/org.eclipse.datatools.connectivity.apache.derby.dbdefinition
 
"1.0.2.v201107221459"]
  
 [org.eclipse.birt.runtime/org.eclipse.datatools.connectivity.apache.derby 
"1.0.103.v201212070447"]
  
 [org.eclipse.birt.runtime/org.eclipse.datatools.connectivity.console.profile 
"1.0.10.v201109250955"]
   [org.eclipse.birt.runtime/org.eclipse.datatools.connectivity.db.generic 
"1.0.1.v201107221459"]
  
 
[org.eclipse.birt.runtime/org.eclipse.datatools.connectivity.dbdefinition.genericJDBC
 
"1.0.1.v201107221459"]
  
 [org.eclipse.birt.runtime/org.eclipse.datatools.connectivity.oda.consumer 
"3.2.5.v201109151100"]
   [org.eclipse.birt.runtime/org.eclipse.datatools.connectivity.o

Re: ava.lang.SecurityException: class "org.apache.poi.POIXMLDocumentPart"'s signer information does not match signer information of other classes in the same package

2016-12-11 Thread Dusan
Looks like poi-ooxml is a signed jar, so you can't include it in uberjar. 
Just add the :uberjar-exclusions[#"^org.apache.poi"] in your project.clj 
and add the required poi jar files to the classpath when running the app

On Sunday, December 11, 2016 at 9:15:47 AM UTC+4, larry google groups wrote:
>
> I've never worked much with Java, so dealing with stuff like Maven is the 
> stuff I understand least about Clojure. 
>
> I've added these 3 items to the dependencies that I list in project.clj
>
>
>  [org.apache.poi/poi "3.9"]   
>  [org.apache.poi/poi-ooxml "3.9"]
>  [org.eclipse.birt.runtime/org.eclipse.birt.runtime 
> "4.2.2"]
>
> When I run "lein uberjar" I get this: 
>
> java.lang.SecurityException: class "org.apache.poi.POIXMLDocumentPart"'s 
> signer information does not match signer information of other classes in 
> the same package
>
> How do I get around this?
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ava.lang.SecurityException: class "org.apache.poi.POIXMLDocumentPart"'s signer information does not match signer information of other classes in the same package

2016-12-11 Thread Matching Socks
Did you find
http://stackoverflow.com/questions/2877262/java-securityexception-signer-information-does-not-match
and the linked
http://stackoverflow.com/questions/8878068/signer-information-does-not-match

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ava.lang.SecurityException: class "org.apache.poi.POIXMLDocumentPart"'s signer information does not match signer information of other classes in the same package

2016-12-11 Thread larry google groups
Thank you. That is a bit frustrating but I guess that is the route I will go


On Sunday, December 11, 2016 at 6:26:04 AM UTC-5, Matching Socks wrote:
>
> Did you find
>
> http://stackoverflow.com/questions/2877262/java-securityexception-signer-information-does-not-match
> and the linked
>
> http://stackoverflow.com/questions/8878068/signer-information-does-not-match
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.