Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Exception in running vaadin example application
Hi
I am having some diffculty in running vaadin sample application (or any vaadin) in my netbeans. Any help will be apreciated
Surefire report directory: C:\inteaccweb\jpa-invoicer-master\target\surefire-reports
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 6.510s
Finished at: Mon Sep 07 21:25:48 PDT 2015
Final Memory: 11M/108M
------------------------------------------------------------------------
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project invoicer: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test failed: A required class was missing while executing org.apache.maven.plugins:maven-surefire-plugin:2.10:test: org/apache/maven/surefire/shade/org/codehaus/plexus/util/xml/XMLWriter
-----------------------------------------------------
realm = plugin>org.apache.maven.plugins:maven-surefire-plugin:2.10
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/C:/Users/mortoza/.m2/repository/org/apache/maven/plugins/maven-surefire-plugin/2.10/maven-surefire-plugin-2.10.jar
urls[1] = file:/C:/Users/mortoza/.m2/repository/org/apache/maven/surefire/surefire-booter/2.10/surefire-booter-2.10.jar
urls[2] = file:/C:/Users/mortoza/.m2/repository/org/apache/maven/surefire/surefire-api/2.10/surefire-api-2.10.jar
urls[3] = file:/C:/Users/mortoza/.m2/repository/org/apache/maven/surefire/maven-surefire-common/2.10/maven-surefire-common-2.10.jar
urls[4] = file:/C:/Users/mortoza/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.3/maven-common-artifact-filters-1.3.jar
urls[5] = file:/C:/Users/mortoza/.m2/repository/org/codehaus/plexus/plexus-utils/2.1/plexus-utils-2.1.jar
urls[6] = file:/C:/Users/mortoza/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.9/maven-reporting-api-2.0.9.jar
Number of foreign imports: 1
import: Entry[import from realm ClassRealm[maven.api, parent: null]]
-----------------------------------------------------: org.apache.maven.surefire.shade.org.codehaus.plexus.util.xml.XMLWriter
Hello.
looks like maven trouble. Are you sure you have same pom.xml files as sample application repositories? You can try to read this thread, it lookls like same problem.
Majlanky: Hello.
looks like maven trouble. Are you sure you have same pom.xml files as sample application repositories? You can try to read this thread, it lookls like same problem.
Hi Thanks for your reply.
I havent change the pom or any other files. In fact. I can not even run any hallo world recently in my computer (windows 7). I have after deleting the reposotory directory and same result !!
Hi
In order to avoid conflicting the repository of other test applications that I had, I have closed them and deleted the repository follwoed by updated the dependencies.
Now have the following exceptions:
[code]Info: Grizzly Framework 2.3.15 started in: 276ms - bound to [/0.0.0.0:8080]
Severe: Exception while visiting com/google/gwt/thirdparty/guava/common/base/CaseFormat.class of size 5277
java.util.zip.ZipException: invalid distance too far back
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at org.glassfish.hk2.external.org.objectweb.asm.ClassReader.readClass(ClassReader.java:461)
at org.glassfish.hk2.external.org.objectweb.asm.ClassReader.<init>(ClassReader.java:424)
at org.glassfish.hk2.classmodel.reflect.Parser$5.on(Parser.java:358)
at com.sun.enterprise.v3.server.ReadableArchiveScannerAdapter.handleEntry(ReadableArchiveScannerAdapter.java:165)
at com.sun.enterprise.v3.server.ReadableArchiveScannerAdapter.onSelectedEntries(ReadableArchiveScannerAdapter.java:127)
at org.glassfish.hk2.classmodel.reflect.Parser.doJob(Parser.java:344)
at org.glassfish.hk2.classmodel.reflect.Parser.access$300(Parser.java:67)
at org.glassfish.hk2.classmodel.reflect.Parser$3.call(Parser.java:303)
at org.glassfish.hk2.classmodel.reflect.Parser$3.call(Parser.java:292)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Severe: Exception while visiting com/google/gwt/thirdparty/guava/common/base/CharMatcher$1.class of size 1048
java.util.zip.ZipException: invalid LOC header (bad signature)
at java.util.zip.ZipFile.read(Native Method)
at java.util.zip.ZipFile.access$1400(ZipFile.java:61)
at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:717)
at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:420)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at org.glassfish.hk2.external.org.objectweb.asm.ClassReader.readClass(ClassReader.java:461)
at org.glassfish.hk2.external.org.objectweb.asm.ClassReader.<init>(ClassReader.java:424)
at org.glassfish.hk2.classmodel.reflect.Parser$5.on(Parser.java:358)
at com.sun.enterprise.v3.server.ReadableArchiveScannerAdapter.handleEntry(ReadableArchiveScannerAdapter.java:165)
at com.sun.enterprise.v3.server.ReadableArchiveScannerAdapter.onSelectedEntries(ReadableArchiveScannerAdapter.java:127)
at org.glassfish.hk2.classmodel.reflect.Parser.doJob(Parser.java:344)
at org.glassfish.hk2.classmodel.reflect.Parser.access$300(Parser.java:67)
at org.glassfish.hk2.classmodel.reflect.Parser$3.call(Parser.java:303)
at org.glassfish.hk2.classmodel.reflect.Parser$3.call(Parser.java:292)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Severe: Exception while visiting com/google/gwt/thirdparty/guava/common/base/CharMatcher$10.class of size 1805
java.util.zip.ZipException: invalid LOC header (bad signature)
at java.util.zip.ZipFile.read(Native Method)
at java.util.zip.ZipFile.access$1400(ZipFile.java:61)
at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:717)
[/code]