java.lang.RuntimeException: java.util.zip.ZipException: duplicate entry: lib/classes/samples/security/customrealm/appserv/SimpleCustomRealm.class

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Java.net JIRA by sonialiu, 1 year ago
java.util.zip.ZipException: duplicate entry: lib/classes/samples/security/customrealm/appserv/SimpleCustomRealm.class
java.lang.RuntimeException: java.util.zip.ZipException: duplicate entry: lib/classes/samples/security/customrealm/appserv/SimpleCustomRealm.class
at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:215)
at org.glassfish.admin.payload.ZipPayloadImpl$Outbound.prepareEntry(ZipPayloadImpl.java:94)
at org.glassfish.admin.payload.ZipPayloadImpl$Outbound.writePartsTo(ZipPayloadImpl.java:100)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:833)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:730)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1031)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at java.lang.Thread.run(Thread.java:722)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.