Unable to compile a widgetset

Hi all.

It makes 2 days i´m trying to compile a widgetset in my project, but i´m unable to do.

The path i did follow was to create a new project using maven vaadin archetype, add Vaadin Charts to this project and compile the widgetset in this project. This step is working.

So, i tried to copy everything in this project to my current project, but it´s not working.

Here is the status of my current project, where i´m unable to compile the widgetset.

  • There is a file called “br.com.personalsoft.metas.AppWidgetSet.gwt.xml”.

<module>
	<inherits name="com.vaadin.DefaultWidgetSet" />
	
	<inherits name="com.vaadin.addon.charts.Widgetset" />
	
	<inherits name="com.vaadin.addon.timeline.gwt.TimelineWidgetSet" />
</module>
  • Here is my web.xml file. The only remarkable difference compared to web.xml of the new project is “productionMode” and a listener class.

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
	id="WebApp_ID" version="2.5">
	<display-name>PersonalsoftMetas</display-name>
	<context-param>
		<description>Vaadin production mode</description>
		<param-name>productionMode</param-name>
		<param-value>true</param-value>
	</context-param>
	<listener>
		<listener-class>br.com.personalsoft.metas.AppServletContextListener</listener-class>
	</listener>
	<servlet>
		<servlet-name>App</servlet-name>
		<servlet-class>com.vaadin.server.VaadinServlet</servlet-class>
		<init-param>
			<param-name>UI</param-name>
			<param-value>br.com.personalsoft.metas.App</param-value>
		</init-param>
		<init-param>
			<description>Application widgetset</description>
			<param-name>widgetset</param-name>
			<param-value>br.com.personalsoft.metas.AppWidgetSet</param-value>
		</init-param>
	</servlet>
	<servlet-mapping>
		<servlet-name>App</servlet-name>
		<url-pattern>/*</url-pattern>
	</servlet-mapping>
</web-app>
  • Here is my pom.xml file. The main differences compared to the pom.xml file of the new project are:
    – My project codepage is Cp1252
    – My project has more dependencies
    – My project uses java 7
    – My project has a “resource” section, where i exclude *.java and *.app2 files from the build
    – Everything else is identical to the new project´s pom.xml

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<groupId>br.com.personalsoft</groupId>
	<artifactId>PersonalsoftMetas</artifactId>
	<packaging>war</packaging>
	<version>1.0.0-SNAPSHOT</version>
	<properties>
		<project.build.sourceEncoding>Cp1252</project.build.sourceEncoding>
		<vaadin.version>7.0.3</vaadin.version>
		<vaadin.plugin.version>${vaadin.version}</vaadin.plugin.version>
	</properties>
	<repositories>
		<repository>
			<id>vaadin-addons</id>
			<url>http://maven.vaadin.com/vaadin-addons</url>
		</repository>
		<repository>
			<id>vaadin-snapshots</id>
			<url>http://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
			<releases>
				<enabled>false</enabled>
			</releases>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</repository>
	</repositories>
	<pluginRepositories>
		<pluginRepository>
			<id>vaadin-snapshots</id>
			<url>http://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
			<releases>
				<enabled>false</enabled>
			</releases>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</pluginRepository>
	</pluginRepositories>
	<dependencies>
		<dependency>
			<groupId>com.vaadin</groupId>
			<artifactId>vaadin-server</artifactId>
			<version>${vaadin.version}</version>
		</dependency>
		<dependency>
			<groupId>com.vaadin</groupId>
			<artifactId>vaadin-client-compiled</artifactId>
			<version>${vaadin.version}</version>
		</dependency>
		<dependency>
			<groupId>com.vaadin</groupId>
			<artifactId>vaadin-client</artifactId>
			<version>${vaadin.version}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.vaadin</groupId>
			<artifactId>vaadin-themes</artifactId>
			<version>${vaadin.version}</version>
		</dependency>
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>servlet-api</artifactId>
			<version>2.4</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.firebirdsql.jdbc</groupId>
			<artifactId>jaybird-jdk17</artifactId>
			<version>2.2.1</version>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.11</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.tomcat</groupId>
			<artifactId>tomcat-jdbc</artifactId>
			<version>7.0.35</version>
		</dependency>
		<dependency>
			<groupId>br.com.personalsoft</groupId>
			<artifactId>PersonalsoftAtualizador</artifactId>
			<version>1.0.0</version>
		</dependency>
		<dependency>
			<groupId>br.com.personalsoft</groupId>
			<artifactId>PersonalsoftSegurancaPnp</artifactId>
			<version>1.0.2</version>
		</dependency>
		<dependency>
			<groupId>br.com.personalsoft</groupId>
			<artifactId>PersonalsoftPreferenciasPnp</artifactId>
			<version>1.0.1</version>
		</dependency>
		<dependency>
			<groupId>org.codehaus.groovy</groupId>
			<artifactId>groovy</artifactId>
			<version>2.0.5</version>
		</dependency>
		<dependency>
			<groupId>com.google.code.gson</groupId>
			<artifactId>gson</artifactId>
			<version>2.2.2</version>
		</dependency>
		<dependency>
			<groupId>net.sourceforge.jexcelapi</groupId>
			<artifactId>jxl</artifactId>
			<version>2.6.12</version>
		</dependency>
		<dependency>
			<groupId>br.com.personalsoft</groupId>
			<artifactId>PersonalsoftEngineVaadin</artifactId>
			<version>1.0.9</version>
		</dependency>
		<dependency>
			<groupId>br.com.personalsoft</groupId>
			<artifactId>PersonalsoftEngineImplementacoes</artifactId>
			<version>1.0.2</version>
		</dependency>
		<dependency>
			<groupId>br.com.personalsoft</groupId>
			<artifactId>PersonalsoftUteis</artifactId>
			<version>1.0.4</version>
		</dependency>
		<dependency>
			<groupId>br.com.personalsoft</groupId>
			<artifactId>PersonalsoftEngineAPI</artifactId>
			<version>1.0.2</version>
		</dependency>
		<dependency>
			<groupId>com.vaadin.addon</groupId>
			<artifactId>vaadin-charts</artifactId>
			<version>1.0.1</version>
		</dependency>
	</dependencies>
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.7</source>
					<target>1.7</target>
				</configuration>
			</plugin>
			<!-- As we are doing "inplace" GWT compilation, ensure the widgetset -->
			<!-- directory is cleaned properly -->
			<plugin>
				<artifactId>maven-clean-plugin</artifactId>
				<version>2.4.1</version>
				<configuration>
					<filesets>
						<fileset>
							<directory>src/main/webapp/VAADIN/widgetsets</directory>
						</fileset>
					</filesets>
				</configuration>
			</plugin>
			<plugin>
				<groupId>com.vaadin</groupId>
				<artifactId>vaadin-maven-plugin</artifactId>
				<version>${vaadin.plugin.version}</version>
				<configuration>
					<extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs>
					<!-- <runTarget>mobilemail</runTarget> -->
					<!-- We are doing "inplace" but into subdir VAADIN/widgetsets. This 
						way compatible with Vaadin eclipse plugin. -->
					<webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets
					</webappDirectory>
					<hostedWebapp>${basedir}/src/main/webapp/VAADIN/widgetsets
					</hostedWebapp>
					<noServer>true</noServer>
					<!-- Remove draftCompile when project is ready -->
					<draftCompile>false</draftCompile>
					<compileReport>true</compileReport>
					<style>OBF</style>
					<strict>true</strict>
					<runTarget>http://localhost:8080/</runTarget>
				</configuration>
				<executions>
					<execution>
						<configuration>
							<!-- if you don't specify any modules, the plugin will find them -->
							<!-- <modules> <module>com.vaadin.demo.mobilemail.gwt.ColorPickerWidgetSet</module> 
								</modules> -->
						</configuration>
						<goals>
							<goal>resources</goal>
							<goal>update-widgetset</goal>
							<goal>compile</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.mortbay.jetty</groupId>
				<artifactId>jetty-maven-plugin</artifactId>
			</plugin>
		</plugins>
		<pluginManagement>
			<plugins>
				<!--This plugin's configuration is used to store Eclipse m2e settings 
					only. It has no influence on the Maven build itself. -->
				<plugin>
					<groupId>org.eclipse.m2e</groupId>
					<artifactId>lifecycle-mapping</artifactId>
					<version>1.0.0</version>
					<configuration>
						<lifecycleMappingMetadata>
							<pluginExecutions>
								<pluginExecution>
									<pluginExecutionFilter>
										<groupId>com.vaadin</groupId>
										<artifactId>
											vaadin-maven-plugin
										</artifactId>
										<versionRange>
											[7.0.3,)
										</versionRange>
										<goals>
											<goal>resources</goal>
											<goal>update-widgetset</goal>
											<goal>compile</goal>
										</goals>
									</pluginExecutionFilter>
									<action>
										<ignore></ignore>
									</action>
								</pluginExecution>
							</pluginExecutions>
						</lifecycleMappingMetadata>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
		<resources>
			<resource>
				<directory>${project.build.sourceDirectory}</directory>
				<excludes>
					<exclude>**/*.app2</exclude>
					<exclude>**/*.java</exclude>
				</excludes>
			</resource>
		</resources>
	</build>
</project>

First, i run

mvn vaadin:update-widgetset

and it is able to find my “AppWidgetSet.gwt.xml” file and update it.

Then, i tried many alternatives, but the one that is working in the new project is

 mvn install

So i´m trying it in my current project, but i get this error:


[INFO]
 auto discovered modules [br.com.personalsoft.metas.AppWidgetSet]

[INFO]
 Compiling module br.com.personalsoft.metas.AppWidgetSet
[INFO]
 [ERROR]
 Unexpected internal compiler error
[INFO]
 java.lang.NoSuchFieldError: reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
[INFO]
 	at com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java:411)
[INFO]
 	at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.<init>(JdtCompiler.java:228)
[INFO]
 	at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:717)
[INFO]
 	at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:248)
[INFO]
 	at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:463)
[INFO]
 	at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:388)
[INFO]
 	at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:373)
[INFO]
 	at com.google.gwt.dev.Precompile.precompile(Precompile.java:246)
[INFO]
 	at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
[INFO]
 	at com.google.gwt.dev.Precompile.precompile(Precompile.java:141)
[INFO]
 	at com.google.gwt.dev.Compiler.run(Compiler.java:232)
[INFO]
 	at com.google.gwt.dev.Compiler.run(Compiler.java:198)
[INFO]
 	at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
[INFO]
 	at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
[INFO]
 	at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
[INFO]
 	at com.google.gwt.dev.Compiler.main(Compiler.java:177)
[INFO]
 ------------------------------------------------------------------------
[INFO]
 BUILD FAILURE
[INFO]
 ------------------------------------------------------------------------
[INFO]
 Total time: 21.015s
[INFO]
 Finished at: Wed Apr 10 14:23:03 BRT 2013
[INFO]
 Final Memory: 10M/24M
[INFO]
 ------------------------------------------------------------------------
[ERROR]
 Failed to execute goal com.vaadin:vaadin-maven-plugin:7.0.3:compile (default) on project PersonalsoftMetas: Command [[
[ERROR]
 C:\Program Files (x86)\Java\jre7\bin\java -Xmx512M -Xss1024k -classpath C:\Users\fabiano\workspace\PersonalsoftMetas\target\classes;C:\Users\fabiano\workspace\PersonalsoftMetas\src\main\java;C:\Users\fabiano\.m2\repository\com\vaadin\vaadin-server\7.0.3\vaadin-server-7.0.3.jar;C:\Users\fabiano\.m2\repository\com\vaadin\vaadin-shared\7.0.3\vaadin-shared-7.0.3.jar;C:\Users\fabiano\.m2\repository\com\vaadin\vaadin-shared-deps\1.0.2\vaadin-shared-deps-1.0.2.jar;C:\Users\fabiano\.m2\repository\com\vaadin\vaadin-theme-compiler\7.0.3\vaadin-theme-compiler-7.0.3.jar;C:\Users\fabiano\.m2\repository\org\apache\commons\commons-jexl\2.1.1\commons-jexl-2.1.1.jar;C:\Users\fabiano\.m2\repository\net\sourceforge\cssparser\cssparser\0.9.5\cssparser-0.9.5.jar;C:\Users\fabiano\.m2\repository\commons-cli\commons-cli\1.2\commons-cli-1.2.jar;C:\Users\fabiano\.m2\repository\org\jsoup\jsoup\1.6.3\jsoup-1.6.3.jar;C:\Users\fabiano\.m2\repository\com\vaadin\vaadin-client-compiled\7.0.3\vaadin-client-compiled-7.0.3.jar;C:\Users\fabiano\.m2\repository\com\vaadin\vaadin-client\7.0.3\vaadin-client-7.0.3.jar;C:\Users\fabiano\.m2\repository\org\w3c\css\sac\1.3\sac-1.3.jar;C:\Users\fabiano\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA.jar;C:\Users\fabiano\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA-sources.jar;C:\Users\fabiano\.m2\repository\com\vaadin\vaadin-themes\7.0.3\vaadin-themes-7.0.3.jar;C:\Users\fabiano\.m2\repository\javax\servlet\servlet-api\2.4\servlet-api-2.4.jar;C:\Users\fabiano\.m2\repository\org\firebirdsql\jdbc\jaybird-jdk17\2.2.1\jaybird-jdk17-2.2.1.jar;C:\Users\fabiano\.m2\repository\javax\resource\connector-api\1.5\connector-api-1.5.jar;C:\Users\fabiano\.m2\repository\org\antlr\antlr-runtime\3.4\antlr-runtime-3.4.jar;C:\Users\fabiano\.m2\repository\org\antlr\stringtemplate\3.2.1\stringtemplate-3.2.1.jar;C:\Users\fabiano\.m2\repository\org\apache\tomcat\tomcat-jdbc\7.0.35\tomcat-jdbc-7.0.35.jar;C:\Users\fabiano\.m2\repository\org\apache\tomcat\tomcat-juli\7.0.35\tomcat-juli-7.0.35.jar;C:\Users\fabiano\.m2\repository\br\com\personalsoft\PersonalsoftAtualizador\1.0.0\PersonalsoftAtualizador-1.0.0.jar;C:\Users\fabiano\.m2\repository\com\jgoodies\forms\1.3.0\forms-1.3.0.jar;C:\Users\fabiano\.m2\repository\commons-codec\commons-codec\1.7\commons-codec-1.7.jar;C:\Users\fabiano\.m2\repository\commons-io\commons-io\2.4\commons-io-2.4.jar;C:\Users\fabiano\.m2\repository\args4j\args4j\2.0.16\args4j-2.0.16.jar;C:\Users\fabiano\.m2\repository\br\com\personalsoft\PersonalsoftSegurancaPnp\1.0.2\PersonalsoftSegurancaPnp-1.0.2.jar;C:\Users\fabiano\.m2\repository\br\com\personalsoft\PersonalsoftPreferenciasPnp\1.0.1\PersonalsoftPreferenciasPnp-1.0.1.jar;C:\Users\fabiano\.m2\repository\org\codehaus\groovy\groovy\2.0.5\groovy-2.0.5.jar;C:\Users\fabiano\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\fabiano\.m2\repository\org\ow2\asm\asm-tree\4.0\asm-tree-4.0.jar;C:\Users\fabiano\.m2\repository\org\ow2\asm\asm-commons\4.0\asm-commons-4.0.jar;C:\Users\fabiano\.m2\repository\org\ow2\asm\asm\4.0\asm-4.0.jar;C:\Users\fabiano\.m2\repository\org\ow2\asm\asm-util\4.0\asm-util-4.0.jar;C:\Users\fabiano\.m2\repository\org\ow2\asm\asm-analysis\4.0\asm-analysis-4.0.jar;C:\Users\fabiano\.m2\repository\com\google\code\gson\gson\2.2.2\gson-2.2.2.jar;C:\Users\fabiano\.m2\repository\net\sourceforge\jexcelapi\jxl\2.6.12\jxl-2.6.12.jar;C:\Users\fabiano\.m2\repository\log4j\log4j\1.2.14\log4j-1.2.14.jar;C:\Users\fabiano\.m2\repository\br\com\personalsoft\PersonalsoftEngineVaadin\1.0.9\PersonalsoftEngineVaadin-1.0.9.jar;C:\Users\fabiano\.m2\repository\net\sf\jasperreports\jasperreports\4.7.1\jasperreports-4.7.1.jar;C:\Users\fabiano\.m2\repository\commons-beanutils\commons-beanutils\1.8.0\commons-beanutils-1.8.0.jar;C:\Users\fabiano\.m2\repository\commons-collections\commons-collections\2.1\commons-collections-2.1.jar;C:\Users\fabiano\.m2\repository\commons-digester\commons-digester\2.1\commons-digester-2.1.jar;C:\Users\fabiano\.m2\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;C:\Users\fabiano\.m2\repository\com\lowagie\itext\2.1.7\itext-2.1.7.jar;C:\Users\fabiano\.m2\repository\bouncycastle\bcmail-jdk14\138\bcmail-jdk14-138.jar;C:\Users\fabiano\.m2\repository\bouncycastle\bcprov-jdk14\138\bcprov-jdk14-138.jar;C:\Users\fabiano\.m2\repository\org\bouncycastle\bctsp-jdk14\1.38\bctsp-jdk14-1.38.jar;C:\Users\fabiano\.m2\repository\org\bouncycastle\bcprov-jdk14\1.38\bcprov-jdk14-1.38.jar;C:\Users\fabiano\.m2\repository\org\bouncycastle\bcmail-jdk14\1.38\bcmail-jdk14-1.38.jar;C:\Users\fabiano\.m2\repository\jfree\jcommon\1.0.15\jcommon-1.0.15.jar;C:\Users\fabiano\.m2\repository\jfree\jfreechart\1.0.12\jfreechart-1.0.12.jar;C:\Users\fabiano\.m2\repository\xml-apis\xml-apis\1.3.02\xml-apis-1.3.02.jar;C:\Users\fabiano\.m2\repository\eclipse\jdtcore\3.1.0\jdtcore-3.1.0.jar;C:\Users\fabiano\.m2\repository\org\codehaus\castor\castor\1.2\castor-1.2.jar;C:\Users\fabiano\.m2\repository\org\apache\poi\poi-ooxml\3.7\poi-ooxml-3.7.jar;C:\Users\fabiano\.m2\repository\org\apache\poi\poi\3.7\poi-3.7.jar;C:\Users\fabiano\.m2\repository\org\apache\poi\poi-ooxml-schemas\3.7\poi-ooxml-schemas-3.7.jar;C:\Users\fabiano\.m2\repository\org\apache\xmlbeans\xmlbeans\2.3.0\xmlbeans-2.3.0.jar;C:\Users\fabiano\.m2\repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;C:\Users\fabiano\.m2\repository\org\apache\geronimo\specs\geronimo-stax-api_1.0_spec\1.0\geronimo-stax-api_1.0_spec-1.0.jar;C:\Users\fabiano\.m2\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;C:\Users\fabiano\.m2\repository\org\codehaus\jackson\jackson-core-asl\1.9.4\jackson-core-asl-1.9.4.jar;C:\Users\fabiano\.m2\repository\org\codehaus\jackson\jackson-mapper-asl\1.9.4\jackson-mapper-asl-1.9.4.jar;C:\Users\fabiano\.m2\repository\br\com\personalsoft\PersonalsoftEngineImplementacoes\1.0.2\PersonalsoftEngineImplementacoes-1.0.2.jar;C:\Users\fabiano\.m2\repository\org\javassist\javassist\3.15.0-GA\javassist-3.15.0-GA.jar;C:\Users\fabiano\.m2\repository\br\com\personalsoft\PersonalsoftUteis\1.0.4\PersonalsoftUteis-1.0.4.jar;C:\Users\fabiano\.m2\repository\br\com\personalsoft\PersonalsoftEngineAPI\1.0.2\PersonalsoftEngineAPI-1.0.2.jar;C:\Users\fabiano\.m2\repository\com\vaadin\addon\vaadin-charts\1.0.1\vaadin-charts-1.0.1.jar;C:\Users\fabiano\.m2\repository\com\vaadin\vaadin-client\7.0.3\vaadin-client-7.0.3.jar;C:\Users\fabiano\.m2\repository\xerces\xmlParserAPIs\2.6.2\xmlParserAPIs-2.6.2.jar;C:\Users\fabiano\.m2\repository\commons-digester\commons-digester\1.6\commons-digester-1.6.jar;C:\Users\fabiano\.m2\repository\commons-beanutils\commons-beanutils\1.7.0\commons-beanutils-1.7.0.jar;C:\Users\fabiano\.m2\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;C:\Users\fabiano\.m2\repository\commons-collections\commons-collections\3.2\commons-collections-3.2.jar;C:\Users\fabiano\.m2\repository\xml-apis\xml-apis\1.3.02\xml-apis-1.3.02.jar;C:\Users\fabiano\.m2\repository\oro\oro\2.0.8\oro-2.0.8.jar;C:\Users\fabiano\.m2\repository\org\codehaus\plexus\plexus-compiler-javac\1.5.3\plexus-compiler-javac-1.5.3.jar;C:\Users\fabiano\.m2\repository\org\codehaus\plexus\plexus-utils\2.0.5\plexus-utils-2.0.5.jar;C:\Users\fabiano\.m2\repository\org\codehaus\plexus\plexus-compiler-api\1.5.3\plexus-compiler-api-1.5.3.jar;C:\Users\fabiano\.m2\repository\org\codehaus\plexus\plexus-container-default\1.0-alpha-8\plexus-container-default-1.0-alpha-8.jar;C:\Users\fabiano\.m2\repository\junit\junit\4.8.1\junit-4.8.1.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\doxia\doxia-logging-api\1.1.4\doxia-logging-api-1.1.4.jar;C:\Users\fabiano\.m2\repository\org\codehaus\plexus\plexus-interpolation\1.13\plexus-interpolation-1.13.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\maven-archiver\2.4.1\maven-archiver-2.4.1.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\maven-artifact\2.0.6\maven-artifact-2.0.6.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\maven-model\2.0.6\maven-model-2.0.6.jar;C:\Users\fabiano\.m2\repository\org\codehaus\plexus\plexus-archiver\1.0-alpha-9\plexus-archiver-1.0-alpha-9.jar;C:\Users\fabiano\.m2\repository\org\codehaus\plexus\plexus-io\1.0-alpha-1\plexus-io-1.0-alpha-1.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\reporting\maven-reporting-api\3.0\maven-reporting-api-3.0.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\doxia\doxia-sink-api\1.1.4\doxia-sink-api-1.1.4.jar;C:\Users\fabiano\.m2\repository\jakarta-regexp\jakarta-regexp\1.4\jakarta-regexp-1.4.jar;C:\Users\fabiano\.m2\repository\org\apache\bcel\bcel\5.2\bcel-5.2.jar;C:\Users\fabiano\.m2\repository\jaxen\jaxen\1.1.1\jaxen-1.1.1.jar;C:\Users\fabiano\.m2\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;C:\Users\fabiano\.m2\repository\jdom\jdom\1.0\jdom-1.0.jar;C:\Users\fabiano\.m2\repository\xerces\xercesImpl\2.9.1\xercesImpl-2.9.1.jar;C:\Users\fabiano\.m2\repository\xom\xom\1.0\xom-1.0.jar;C:\Users\fabiano\.m2\repository\xalan\xalan\2.6.0\xalan-2.6.0.jar;C:\Users\fabiano\.m2\repository\com\ibm\icu\icu4j\2.6.1\icu4j-2.6.1.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\surefire\surefire-api\2.4.3\surefire-api-2.4.3.jar;C:\Users\fabiano\.m2\repository\net\sourceforge\cssparser\cssparser\0.9.5\cssparser-0.9.5.jar;C:\Users\fabiano\.m2\repository\org\w3c\css\sac\1.3\sac-1.3.jar;C:\Users\fabiano\.m2\repository\com\vaadin\vaadin-theme-compiler\7.0.3\vaadin-theme-compiler-7.0.3.jar;C:\Users\fabiano\.m2\repository\com\vaadin\vaadin-shared\7.0.3\vaadin-shared-7.0.3.jar;C:\Users\fabiano\.m2\repository\com\vaadin\vaadin-shared-deps\1.0.2\vaadin-shared-deps-1.0.2.jar;C:\Users\fabiano\.m2\repository\org\apache\commons\commons-jexl\2.1.1\commons-jexl-2.1.1.jar;C:\Users\fabiano\.m2\repository\commons-cli\commons-cli\1.2\commons-cli-1.2.jar;C:\Users\fabiano\.m2\repository\org\apache\velocity\velocity\1.5\velocity-1.5.jar;C:\Users\fabiano\.m2\repository\commons-lang\commons-lang\2.5\commons-lang-2.5.jar;C:\Users\fabiano\.m2\repository\commons-httpclient\commons-httpclient\3.1\commons-httpclient-3.1.jar;C:\Users\fabiano\.m2\repository\commons-codec\commons-codec\1.3\commons-codec-1.3.jar;C:\Users\fabiano\.m2\repository\org\codehaus\plexus\plexus-component-api\1.0-alpha-15\plexus-component-api-1.0-alpha-15.jar;C:\Users\fabiano\.m2\repository\org\codehaus\plexus\plexus-classworlds\1.2-alpha-6\plexus-classworlds-1.2-alpha-6.jar;C:\Users\fabiano\.m2\repository\org\codehaus\plexus\plexus-velocity\1.1.7\plexus-velocity-1.1.7.jar;C:\Users\fabiano\.m2\repository\velocity\velocity\1.4\velocity-1.4.jar;C:\Users\fabiano\.m2\repository\velocity\velocity-dep\1.4\velocity-dep-1.4.jar;C:\Users\fabiano\.m2\repository\com\thoughtworks\qdox\qdox\1.12\qdox-1.12.jar;C:\Users\fabiano\.m2\repository\org\springframework\spring-asm\3.0.5.RELEASE\spring-asm-3.0.5.RELEASE.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\doxia\doxia-module-fml\1.1.4\doxia-module-fml-1.1.4.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\doxia\doxia-core\1.1.2\doxia-core-1.1.2.jar;C:\Users\fabiano\.m2\repository\org\mortbay\jetty\jetty-util\6.1.11\jetty-util-6.1.11.jar;C:\Users\fabiano\.m2\repository\org\mortbay\jetty\servlet-api-2.5\6.1.11\servlet-api-2.5-6.1.11.jar;C:\Users\fabiano\.m2\repository\org\mortbay\jetty\jetty\6.1.11\jetty-6.1.11.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\surefire\surefire-booter\2.4.3\surefire-booter-2.4.3.jar;C:\Users\fabiano\.m2\repository\com\vaadin\vaadin-client-compiler\7.0.3\vaadin-client-compiler-7.0.3.jar;C:\Users\fabiano\.m2\repository\com\vaadin\vaadin-server\7.0.3\vaadin-server-7.0.3.jar;C:\Users\fabiano\.m2\repository\org\jsoup\jsoup\1.6.3\jsoup-1.6.3.jar;C:\Users\fabiano\.m2\repository\org\jdesktop\swing-worker\1.1\swing-worker-1.1.jar;C:\Users\fabiano\.m2\repository\org\jdom\jdom\1.1\jdom-1.1.jar;C:\Users\fabiano\.m2\repository\org\codehaus\plexus\plexus-i18n\1.0-beta-7\plexus-i18n-1.0-beta-7.jar;C:\Users\fabiano\.m2\repository\org\apache\james\apache-mime4j\0.6\apache-mime4j-0.6.jar;C:\Users\fabiano\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA-sources.jar;C:\Users\fabiano\.m2\repository\commons-io\commons-io\2.0.1\commons-io-2.0.1.jar;C:\Users\fabiano\.m2\repository\com\vaadin\vaadin-maven-plugin\7.0.3\vaadin-maven-plugin-7.0.3.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\maven-project\2.0.9\maven-project-2.0.9.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\maven-settings\2.0.10\maven-settings-2.0.10.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\maven-profile\2.0.10\maven-profile-2.0.10.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\maven-artifact-manager\2.0.10\maven-artifact-manager-2.0.10.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\maven-repository-metadata\2.0.10\maven-repository-metadata-2.0.10.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\wagon\wagon-provider-api\1.0-beta-2\wagon-provider-api-1.0-beta-2.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\maven-plugin-registry\2.0.10\maven-plugin-registry-2.0.10.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\maven-plugin-api\2.0.9\maven-plugin-api-2.0.9.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\reporting\maven-reporting-impl\2.1\maven-reporting-impl-2.1.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\doxia\doxia-site-renderer\1.1.4\doxia-site-renderer-1.1.4.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\doxia\doxia-decoration-model\1.1.4\doxia-decoration-model-1.1.4.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\doxia\doxia-module-xhtml\1.1.4\doxia-module-xhtml-1.1.4.jar;C:\Users\fabiano\.m2\repository\commons-validator\commons-validator\1.2.0\commons-validator-1.2.0.jar;C:\Users\fabiano\.m2\repository\org\springframework\spring-core\3.0.5.RELEASE\spring-core-3.0.5.RELEASE.jar;C:\Users\fabiano\.m2\repository\freemarker\freemarker\2.3.6\freemarker-2.3.6.jar;C:\Users\fabiano\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA.jar;C:\Users\fabiano\.m2\repository\ant\ant\1.6.5\ant-1.6.5.jar;C:\Users\fabiano\.m2\repository\ant\ant-launcher\1.6.5\ant-launcher-1.6.5.jar;C:\Users\fabiano\.m2\repository\com\vaadin\vaadin-client-compiler\7.0.3\vaadin-client-compiler-7.0.3.jar;C:\Users\fabiano\.m2\repository\xerces\xmlParserAPIs\2.6.2\xmlParserAPIs-2.6.2.jar;C:\Users\fabiano\.m2\repository\commons-digester\commons-digester\1.6\commons-digester-1.6.jar;C:\Users\fabiano\.m2\repository\commons-beanutils\commons-beanutils\1.7.0\commons-beanutils-1.7.0.jar;C:\Users\fabiano\.m2\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;C:\Users\fabiano\.m2\repository\commons-collections\commons-collections\3.2\commons-collections-3.2.jar;C:\Users\fabiano\.m2\repository\xml-apis\xml-apis\1.3.02\xml-apis-1.3.02.jar;C:\Users\fabiano\.m2\repository\oro\oro\2.0.8\oro-2.0.8.jar;C:\Users\fabiano\.m2\repository\org\codehaus\plexus\plexus-compiler-javac\1.5.3\plexus-compiler-javac-1.5.3.jar;C:\Users\fabiano\.m2\repository\org\codehaus\plexus\plexus-utils\2.0.5\plexus-utils-2.0.5.jar;C:\Users\fabiano\.m2\repository\org\codehaus\plexus\plexus-compiler-api\1.5.3\plexus-compiler-api-1.5.3.jar;C:\Users\fabiano\.m2\repository\org\codehaus\plexus\plexus-container-default\1.0-alpha-8\plexus-container-default-1.0-alpha-8.jar;C:\Users\fabiano\.m2\repository\junit\junit\4.8.1\junit-4.8.1.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\doxia\doxia-logging-api\1.1.4\doxia-logging-api-1.1.4.jar;C:\Users\fabiano\.m2\repository\org\codehaus\plexus\plexus-interpolation\1.13\plexus-interpolation-1.13.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\maven-archiver\2.4.1\maven-archiver-2.4.1.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\maven-artifact\2.0.6\maven-artifact-2.0.6.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\maven-model\2.0.6\maven-model-2.0.6.jar;C:\Users\fabiano\.m2\repository\org\codehaus\plexus\plexus-archiver\1.0-alpha-9\plexus-archiver-1.0-alpha-9.jar;C:\Users\fabiano\.m2\repository\org\codehaus\plexus\plexus-io\1.0-alpha-1\plexus-io-1.0-alpha-1.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\reporting\maven-reporting-api\3.0\maven-reporting-api-3.0.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\doxia\doxia-sink-api\1.1.4\doxia-sink-api-1.1.4.jar;C:\Users\fabiano\.m2\repository\jakarta-regexp\jakarta-regexp\1.4\jakarta-regexp-1.4.jar;C:\Users\fabiano\.m2\repository\org\apache\bcel\bcel\5.2\bcel-5.2.jar;C:\Users\fabiano\.m2\repository\jaxen\jaxen\1.1.1\jaxen-1.1.1.jar;C:\Users\fabiano\.m2\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;C:\Users\fabiano\.m2\repository\jdom\jdom\1.0\jdom-1.0.jar;C:\Users\fabiano\.m2\repository\xerces\xercesImpl\2.9.1\xercesImpl-2.9.1.jar;C:\Users\fabiano\.m2\repository\xom\xom\1.0\xom-1.0.jar;C:\Users\fabiano\.m2\repository\xalan\xalan\2.6.0\xalan-2.6.0.jar;C:\Users\fabiano\.m2\repository\com\ibm\icu\icu4j\2.6.1\icu4j-2.6.1.jar;C:\Users\fabiano\.m2\repository\com\vaadin\vaadin-client\7.0.3\vaadin-client-7.0.3.jar;C:\Users\fabiano\.m2\repository\com\vaadin\vaadin-shared\7.0.3\vaadin-shared-7.0.3.jar;C:\Users\fabiano\.m2\repository\com\vaadin\vaadin-shared-deps\1.0.2\vaadin-shared-deps-1.0.2.jar;C:\Users\fabiano\.m2\repository\com\vaadin\vaadin-server\7.0.3\vaadin-server-7.0.3.jar;C:\Users\fabiano\.m2\repository\com\vaadin\vaadin-theme-compiler\7.0.3\vaadin-theme-compiler-7.0.3.jar;C:\Users\fabiano\.m2\repository\org\apache\commons\commons-jexl\2.1.1\commons-jexl-2.1.1.jar;C:\Users\fabiano\.m2\repository\org\w3c\css\sac\1.3\sac-1.3.jar;C:\Users\fabiano\.m2\repository\net\sourceforge\cssparser\cssparser\0.9.5\cssparser-0.9.5.jar;C:\Users\fabiano\.m2\repository\commons-cli\commons-cli\1.2\commons-cli-1.2.jar;C:\Users\fabiano\.m2\repository\org\jsoup\jsoup\1.6.3\jsoup-1.6.3.jar;C:\Users\fabiano\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA.jar;C:\Users\fabiano\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA-sources.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\surefire\surefire-api\2.4.3\surefire-api-2.4.3.jar;C:\Users\fabiano\.m2\repository\org\apache\velocity\velocity\1.5\velocity-1.5.jar;C:\Users\fabiano\.m2\repository\commons-lang\commons-lang\2.5\commons-lang-2.5.jar;C:\Users\fabiano\.m2\repository\commons-httpclient\commons-httpclient\3.1\commons-httpclient-3.1.jar;C:\Users\fabiano\.m2\repository\commons-codec\commons-codec\1.3\commons-codec-1.3.jar;C:\Users\fabiano\.m2\repository\org\codehaus\plexus\plexus-component-api\1.0-alpha-15\plexus-component-api-1.0-alpha-15.jar;C:\Users\fabiano\.m2\repository\org\codehaus\plexus\plexus-classworlds\1.2-alpha-6\plexus-classworlds-1.2-alpha-6.jar;C:\Users\fabiano\.m2\repository\org\codehaus\plexus\plexus-velocity\1.1.7\plexus-velocity-1.1.7.jar;C:\Users\fabiano\.m2\repository\velocity\velocity\1.4\velocity-1.4.jar;C:\Users\fabiano\.m2\repository\velocity\velocity-dep\1.4\velocity-dep-1.4.jar;C:\Users\fabiano\.m2\repository\com\thoughtworks\qdox\qdox\1.12\qdox-1.12.jar;C:\Users\fabiano\.m2\repository\org\springframework\spring-asm\3.0.5.RELEASE\spring-asm-3.0.5.RELEASE.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\doxia\doxia-module-fml\1.1.4\doxia-module-fml-1.1.4.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\doxia\doxia-core\1.1.2\doxia-core-1.1.2.jar;C:\Users\fabiano\.m2\repository\org\mortbay\jetty\jetty-util\6.1.11\jetty-util-6.1.11.jar;C:\Users\fabiano\.m2\repository\org\mortbay\jetty\servlet-api-2.5\6.1.11\servlet-api-2.5-6.1.11.jar;C:\Users\fabiano\.m2\repository\org\mortbay\jetty\jetty\6.1.11\jetty-6.1.11.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\surefire\surefire-booter\2.4.3\surefire-booter-2.4.3.jar;C:\Users\fabiano\.m2\repository\org\jdesktop\swing-worker\1.1\swing-worker-1.1.jar;C:\Users\fabiano\.m2\repository\org\jdom\jdom\1.1\jdom-1.1.jar;C:\Users\fabiano\.m2\repository\org\codehaus\plexus\plexus-i18n\1.0-beta-7\plexus-i18n-1.0-beta-7.jar;C:\Users\fabiano\.m2\repository\org\apache\james\apache-mime4j\0.6\apache-mime4j-0.6.jar;C:\Users\fabiano\.m2\repository\commons-io\commons-io\2.0.1\commons-io-2.0.1.jar;C:\Users\fabiano\.m2\repository\com\vaadin\vaadin-maven-plugin\7.0.3\vaadin-maven-plugin-7.0.3.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\maven-project\2.0.9\maven-project-2.0.9.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\maven-settings\2.0.10\maven-settings-2.0.10.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\maven-profile\2.0.10\maven-profile-2.0.10.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\maven-artifact-manager\2.0.10\maven-artifact-manager-2.0.10.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\maven-repository-metadata\2.0.10\maven-repository-metadata-2.0.10.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\wagon\wagon-provider-api\1.0-beta-2\wagon-provider-api-1.0-beta-2.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\maven-plugin-registry\2.0.10\maven-plugin-registry-2.0.10.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\maven-plugin-api\2.0.9\maven-plugin-api-2.0.9.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\reporting\maven-reporting-impl\2.1\maven-reporting-impl-2.1.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\doxia\doxia-site-renderer\1.1.4\doxia-site-renderer-1.1.4.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\doxia\doxia-decoration-model\1.1.4\doxia-decoration-model-1.1.4.jar;C:\Users\fabiano\.m2\repository\org\apache\maven\doxia\doxia-module-xhtml\1.1.4\doxia-module-xhtml-1.1.4.jar;C:\Users\fabiano\.m2\repository\commons-validator\commons-validator\1.2.0\commons-validator-1.2.0.jar;C:\Users\fabiano\.m2\repository\org\springframework\spring-core\3.0.5.RELEASE\spring-core-3.0.5.RELEASE.jar;C:\Users\fabiano\.m2\repository\freemarker\freemarker\2.3.6\freemarker-2.3.6.jar;C:\Users\fabiano\.m2\repository\ant\ant\1.6.5\ant-1.6.5.jar;C:\Users\fabiano\.m2\repository\ant\ant-launcher\1.6.5\ant-launcher-1.6.5.jar com.google.gwt.dev.Compiler -logLevel INFO -style OBF -war C:\Users\fabiano\workspace\PersonalsoftMetas\src\main\webapp\VAADIN\widgetsets -localWorkers 4 -strict -XfragmentCount -1 -extra C:\Users\fabiano\workspace\PersonalsoftMetas\target\extra -compileReport -gen C:\Users\fabiano\workspace\PersonalsoftMetas\target\.generated br.com.personalsoft.metas.AppWidgetSet
[ERROR]
 ]] failed with status 1
[ERROR]
 -> [Help 1]

[ERROR]
 
[ERROR]
 To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR]
 Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
 
[ERROR]
 For more information about the errors and possible solutions, please read the following articles:
[ERROR]
 [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Is there someone able to help?

Regards,

Fabiano

I have the same problem when executing “Compile Vaadin widgets” option in Vaadin eclipse plugin.
At first the message was:

Could not find or load main class com.vaadin.tools.WidgetsetCompiler

Then I change the project’s Ivy configuration removing conf=“widgetset-compile->default” from vaadin-client-compiler dependency.
After that, the result of widgetset compilation was:

java.lang.NoSuchFieldError: warningThreshold

It seems that the same issue occurs when compiling widgets from an Vaadin eclipse plugin.

Regards,
Jacek

I have the same problem as Jacek. I want to use the RatingStars add-on, but i can not compile the widgetset. Following exception will be thrown:


java.lang.NoClassDefFoundError: com/vaadin/tools/WidgetsetCompiler
Caused by: java.lang.ClassNotFoundException: com.vaadin.tools.WidgetsetCompiler
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: com.vaadin.tools.WidgetsetCompiler.  Program will exit.
Exception in thread "main" 
Widgetset compilation failed

I installed vaadin 7 over the eclpise marketplace and used the plugin button to start the widgetset compilation.

Check that you have vaadin-client-compiler in your project dependencies (Ivy configuration) - normally it should be there, but your error message looks like it is missing.

If that is not the issue, information about the versions of Vaadin and the plugin and a copy of your dependency management configuration might help in finding out what is the issue.

If still unresolved: Try replacing the vaadin-client-compiled dependency (which is not needed when you use your own widgetset) with vaadin-client-compiler. Normally the plugin adds it automatically, but maybe one of your transitive dependencies (vaadin-charts?) would specify a different version of it. An explicit dependency of an entry in dependencyManagement should force it to use the correct version.

Hi I am getting below exception when try to compile wegetset in eclipse,

Executing compiler with command line:

C:\program files\Java\jre1.8.0_25\bin\java.exe -Djava.awt.headless=true -Xss8M -Xmx512M -XX:MaxPermSize=512M -classpath C:\program files\Java\jre1.8.0_25\lib\resources.jar;C:\program files\Java\jre1.8.0_25\lib\rt.jar;C:\program files\Java\jre1.8.0_25\lib\jsse.jar;C:\program files\Java\jre1.8.0_25\lib\jce.jar;C:\program files\Java\jre1.8.0_25\lib\charsets.jar;C:\program files\Java\jre1.8.0_25\lib\jfr.jar;C:\program files\Java\jre1.8.0_25\lib\ext\access-bridge-64.jar;C:\program files\Java\jre1.8.0_25\lib\ext\cldrdata.jar;C:\program files\Java\jre1.8.0_25\lib\ext\dnsns.jar;C:\program files\Java\jre1.8.0_25\lib\ext\jaccess.jar;C:\program files\Java\jre1.8.0_25\lib\ext\jfxrt.jar;C:\program files\Java\jre1.8.0_25\lib\ext\localedata.jar;C:\program files\Java\jre1.8.0_25\lib\ext\nashorn.jar;C:\program files\Java\jre1.8.0_25\lib\ext\sunec.jar;C:\program files\Java\jre1.8.0_25\lib\ext\sunjce_provider.jar;C:\program files\Java\jre1.8.0_25\lib\ext\sunmscapi.jar;C:\program files\Java\jre1.8.0_25\lib\ext\sunpkcs11.jar;C:\program files\Java\jre1.8.0_25\lib\ext\zipfs.jar;C:/Users/v765348/Lunaee/secportal/src/main/java;C:/Users/v765348/Lunaee/secportal/target/generated-sources/wsimport;C:/Users/v765348/Lunaee/secportal/src/main/resources;C:/Users/v765348/Lunaee/secportal/src/test/java;C:/Users/v765348/Lunaee/secportal/src/test/resources;C:/Users/v765348/Lunaee/secportal/target/classes;C:/Users/v765348/Lunaee/secportal/target/test-classes;C:/program files/Java/jre1.8.0_25/lib/resources.jar;C:/program files/Java/jre1.8.0_25/lib/rt.jar;C:/program files/Java/jre1.8.0_25/lib/jsse.jar;C:/program files/Java/jre1.8.0_25/lib/jce.jar;C:/program files/Java/jre1.8.0_25/lib/charsets.jar;C:/program files/Java/jre1.8.0_25/lib/jfr.jar;C:/program files/Java/jre1.8.0_25/lib/ext/access-bridge-64.jar;C:/program files/Java/jre1.8.0_25/lib/ext/cldrdata.jar;C:/program files/Java/jre1.8.0_25/lib/ext/dnsns.jar;C:/program files/Java/jre1.8.0_25/lib/ext/jaccess.jar;C:/program files/Java/jre1.8.0_25/lib/ext/jfxrt.jar;C:/program files/Java/jre1.8.0_25/lib/ext/localedata.jar;C:/program files/Java/jre1.8.0_25/lib/ext/nashorn.jar;C:/program files/Java/jre1.8.0_25/lib/ext/sunec.jar;C:/program files/Java/jre1.8.0_25/lib/ext/sunjce_provider.jar;C:/program files/Java/jre1.8.0_25/lib/ext/sunmscapi.jar;C:/program files/Java/jre1.8.0_25/lib/ext/sunpkcs11.jar;C:/program files/Java/jre1.8.0_25/lib/ext/zipfs.jar;C:/Users/v765348/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.5/jcl-over-slf4j-1.7.5.jar;C:/Users/v765348/.m2/repository/org/glassfish/jersey/core/jersey-client/2.2/jersey-client-2.2.jar;C:/Users/v765348/.m2/repository/org/glassfish/jersey/core/jersey-common/2.2/jersey-common-2.2.jar;C:/Users/v765348/.m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.jar;C:/Users/v765348/.m2/repository/org/glassfish/hk2/osgi-resource-locator/1.0.1/osgi-resource-locator-1.0.1.jar;C:/Users/v765348/.m2/repository/javax/ws/rs/javax.ws.rs-api/2.0/javax.ws.rs-api-2.0.jar;C:/Users/v765348/.m2/repository/com/google/guava/guava/14.0.1/guava-14.0.1.jar;C:/Users/v765348/.m2/repository/org/glassfish/hk2/hk2-api/2.2.0-b14/hk2-api-2.2.0-b14.jar;C:/Users/v765348/.m2/repository/org/glassfish/hk2/hk2-utils/2.2.0-b14/hk2-utils-2.2.0-b14.jar;C:/Users/v765348/.m2/repository/org/glassfish/hk2/external/javax.inject/2.2.0-b14/javax.inject-2.2.0-b14.jar;C:/Users/v765348/.m2/repository/org/glassfish/hk2/hk2-locator/2.2.0-b14/hk2-locator-2.2.0-b14.jar;C:/Users/v765348/.m2/repository/org/glassfish/hk2/external/asm-all-repackaged/2.2.0-b14/asm-all-repackaged-2.2.0-b14.jar;C:/Users/v765348/.m2/repository/org/glassfish/hk2/external/cglib/2.2.0-b14/cglib-2.2.0-b14.jar;C:/Users/v765348/.m2/repository/org/glassfish/jersey/media/jersey-media-multipart/2.2/jersey-media-multipart-2.2.jar;C:/Users/v765348/.m2/repository/org/glassfish/jersey/core/jersey-server/2.2/jersey-server-2.2.jar;C:/Users/v765348/.m2/repository/org/jvnet/mimepull/mimepull/1.9.3/mimepull-1.9.3.jar;C:/Users/v765348/.m2/repository/net/java/dev/vcc/thirdparty/collection-setter-injector/0.5.0-1/collection-setter-injector-0.5.0-1.jar;C:/Users/v765348/.m2/repository/commons-codec/commons-codec/1.7/commons-codec-1.7.jar;C:/Users/v765348/.m2/repository/com/verizon/common/secportal-common/1.1.1-SNAPSHOT/secportal-common-1.1.1-SNAPSHOT.jar;C:/Users/v765348/.m2/repository/com/vaadin/vaadin-server/7.3.7/vaadin-server-7.3.7.jar;C:/Users/v765348/.m2/repository/com/vaadin/vaadin-sass-compiler/0.9.10/vaadin-sass-compiler-0.9.10.jar;C:/Users/v765348/.m2/repository/com/vaadin/external/flute/flute/1.3.0.gg2/flute-1.3.0.gg2.jar;C:/Users/v765348/.m2/repository/com/vaadin/vaadin-shared/7.3.7/vaadin-shared-7.3.7.jar;C:/Users/v765348/.m2/repository/com/vaadin/external/streamhtmlparser/streamhtmlparser-jsilver/0.0.10.vaadin1/streamhtmlparser-jsilver-0.0.10.vaadin1.jar;C:/Users/v765348/.m2/repository/com/vaadin/external/google/guava/16.0.1.vaadin1/guava-16.0.1.vaadin1.jar;C:/Users/v765348/.m2/repository/com/vaadin/external/json/json/0.0.20080701/json-0.0.20080701.jar;C:/Users/v765348/.m2/repository/org/jsoup/jsoup/1.6.3/jsoup-1.6.3.jar;C:/Users/v765348/.m2/repository/com/vaadin/vaadin-client-compiled/7.3.7/vaadin-client-compiled-7.3.7.jar;C:/Users/v765348/.m2/repository/com/verizon/datetimepicker/0.0.2-SNAPSHOT/datetimepicker-0.0.2-SNAPSHOT.jar;C:/Users/v765348/.m2/repository/com/vaadin/vaadin-client/7.3.7/vaadin-client-7.3.7.jar;C:/Users/v765348/.m2/repository/org/w3c/css/sac/1.3/sac-1.3.jar;C:/Users/v765348/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar;C:/Users/v765348/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar;C:/Users/v765348/.m2/repository/com/vaadin/vaadin-push/7.3.7/vaadin-push-7.3.7.jar;C:/Users/v765348/.m2/repository/com/vaadin/external/atmosphere/atmosphere-runtime/2.1.2.vaadin6/atmosphere-runtime-2.1.2.vaadin6.jar;C:/Users/v765348/.m2/repository/com/vaadin/external/slf4j/vaadin-slf4j-jdk14/1.6.1/vaadin-slf4j-jdk14-1.6.1.jar;C:/Users/v765348/.m2/repository/com/vaadin/vaadin-themes/7.3.7/vaadin-themes-7.3.7.jar;C:/Users/v765348/.m2/repository/org/springframework/spring-context/4.1.1.RELEASE/spring-context-4.1.1.RELEASE.jar;C:/Users/v765348/.m2/repository/org/springframework/spring-aop/4.1.1.RELEASE/spring-aop-4.1.1.RELEASE.jar;C:/Users/v765348/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar;C:/Users/v765348/.m2/repository/org/springframework/spring-beans/4.1.1.RELEASE/spring-beans-4.1.1.RELEASE.jar;C:/Users/v765348/.m2/repository/org/springframework/spring-core/4.1.1.RELEASE/spring-core-4.1.1.RELEASE.jar;C:/Users/v765348/.m2/repository/org/springframework/spring-expression/4.1.1.RELEASE/spring-expression-4.1.1.RELEASE.jar;C:/Users/v765348/.m2/repository/org/springframework/spring-web/4.1.1.RELEASE/spring-web-4.1.1.RELEASE.jar;C:/Users/v765348/.m2/repository/org/springframework/spring-aspects/4.1.1.RELEASE/spring-aspects-4.1.1.RELEASE.jar;C:/Users/v765348/.m2/repository/org/aspectj/aspectjweaver/1.8.2/aspectjweaver-1.8.2.jar;C:/Users/v765348/.m2/repository/org/springframework/spring-tx/4.1.1.RELEASE/spring-tx-4.1.1.RELEASE.jar;C:/Users/v765348/.m2/repository/org/springframework/spring-instrument-tomcat/4.1.1.RELEASE/spring-instrument-tomcat-4.1.1.RELEASE.jar;C:/Users/v765348/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar;C:/Users/v765348/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar;C:/Users/v765348/.m2/repository/ch/qos/logback/logback-classic/1.0.10/logback-classic-1.0.10.jar;C:/Users/v765348/.m2/repository/ch/qos/logback/logback-core/1.0.10/logback-core-1.0.10.jar;C:/Users/v765348/.m2/repository/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar;C:/Users/v765348/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar;C:/Users/v765348/.m2/repository/org/apache/commons/commons-collections4/4.0/commons-collections4-4.0.jar;C:/Users/v765348/.m2/repository/commons-configuration/commons-configuration/1.9/commons-configuration-1.9.jar;C:/Users/v765348/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar;C:/Users/v765348/.m2/repository/commons-beanutils/commons-beanutils-core/1.8.3/commons-beanutils-core-1.8.3.jar;C:/Users/v765348/.m2/repository/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar;C:/Users/v765348/.m2/repository/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar;C:/Users/v765348/.m2/repository/javax/servlet/javax.servlet-api/3.0.1/javax.servlet-api-3.0.1.jar;C:/Users/v765348/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.6/jaxb-impl-2.2.6.jar;C:/Users/v765348/.m2/repository/joda-time/joda-time/2.1/joda-time-2.1.jar;C:/Users/v765348/.m2/repository/commons-validator/commons-validator/1.4.0/commons-validator-1.4.0.jar;C:/Users/v765348/.m2/repository/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3.jar;C:/Users/v765348/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar;C:/Users/v765348/.m2/repository/com/vaadin/addon/vaadin-charts/2.0.0/vaadin-charts-2.0.0.jar;C:/Users/v765348/.m2/repository/com/google/code/gson/gson/2.2/gson-2.2.jar;C:/Users/v765348/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar;C:/Users/v765348/.m2/repository/com/vaadin/tapio/googlemaps/0.8.0/googlemaps-0.8.0.jar;C:/Users/v765348/.m2/repository/com/github/rwl/gwt-maps/3.8.0-pre1/gwt-maps-3.8.0-pre1.jar;C:/Users/v765348/.m2/repository/org/vaadin/addons/lazyquerycontainer/vaadin-lazyquerycontainer/2.1.0/vaadin-lazyquerycontainer-2.1.0.jar;C:/Users/v765348/.m2/repository/org/eclipse/persistence/javax.persistence/2.0.0/javax.persistence-2.0.0.jar;C:/Users/v765348/.m2/repository/org/apache/xmlgraphics/batik-transcoder/1.7/batik-transcoder-1.7.jar;C:/Users/v765348/.m2/repository/org/apache/xmlgraphics/fop/0.94/fop-0.94.jar;C:/Users/v765348/.m2/repository/org/apache/xmlgraphics/xmlgraphics-commons/1.2/xmlgraphics-commons-1.2.jar;C:/Users/v765348/.m2/repository/org/apache/avalon/framework/avalon-framework-api/4.3.1/avalon-framework-api-4.3.1.jar;C:/Users/v765348/.m2/repository/org/apache/avalon/framework/avalon-framework-impl/4.3.1/avalon-framework-impl-4.3.1.jar;C:/Users/v765348/.m2/repository/org/apache/xmlgraphics/batik-awt-util/1.7/batik-awt-util-1.7.jar;C:/Users/v765348/.m2/repository/org/apache/xmlgraphics/batik-bridge/1.7/batik-bridge-1.7.jar;C:/Users/v765348/.m2/repository/org/apache/xmlgraphics/batik-anim/1.7/batik-anim-1.7.jar;C:/Users/v765348/.m2/repository/org/apache/xmlgraphics/batik-css/1.7/batik-css-1.7.jar;C:/Users/v765348/.m2/repository/org/apache/xmlgraphics/batik-ext/1.7/batik-ext-1.7.jar;C:/Users/v765348/.m2/repository/org/apache/xmlgraphics/batik-parser/1.7/batik-parser-1.7.jar;C:/Users/v765348/.m2/repository/org/apache/xmlgraphics/batik-script/1.7/batik-script-1.7.jar;C:/Users/v765348/.m2/repository/org/apache/xmlgraphics/batik-js/1.7/batik-js-1.7.jar;C:/Users/v765348/.m2/repository/org/apache/xmlgraphics/batik-dom/1.7/batik-dom-1.7.jar;C:/Users/v765348/.m2/repository/org/apache/xmlgraphics/batik-gvt/1.7/batik-gvt-1.7.jar;C:/Users/v765348/.m2/repository/org/apache/xmlgraphics/batik-svg-dom/1.7/batik-svg-dom-1.7.jar;C:/Users/v765348/.m2/repository/org/apache/xmlgraphics/batik-svggen/1.7/batik-svggen-1.7.jar;C:/Users/v765348/.m2/repository/org/apache/xmlgraphics/batik-util/1.7/batik-util-1.7.jar;C:/Users/v765348/.m2/repository/org/apache/xmlgraphics/batik-xml/1.7/batik-xml-1.7.jar;C:/Users/v765348/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar;C:/Users/v765348/.m2/repository/xml-apis/xml-apis-ext/1.3.04/xml-apis-ext-1.3.04.jar;C:/Users/v765348/.m2/repository/org/apache/xmlgraphics/batik-codec/1.7/batik-codec-1.7.jar;C:/Users/v765348/.m2/repository/org/apache/tomcat/tomcat-catalina/8.0.14/tomcat-catalina-8.0.14.jar;C:/Users/v765348/.m2/repository/org/apache/tomcat/tomcat-servlet-api/8.0.14/tomcat-servlet-api-8.0.14.jar;C:/Users/v765348/.m2/repository/org/apache/tomcat/tomcat-jsp-api/8.0.14/tomcat-jsp-api-8.0.14.jar;C:/Users/v765348/.m2/repository/org/apache/tomcat/tomcat-el-api/8.0.14/tomcat-el-api-8.0.14.jar;C:/Users/v765348/.m2/repository/org/apache/tomcat/tomcat-juli/8.0.14/tomcat-juli-8.0.14.jar;C:/Users/v765348/.m2/repository/org/apache/tomcat/tomcat-annotations-api/8.0.14/tomcat-annotations-api-8.0.14.jar;C:/Users/v765348/.m2/repository/org/apache/tomcat/tomcat-api/8.0.14/tomcat-api-8.0.14.jar;C:/Users/v765348/.m2/repository/org/apache/tomcat/tomcat-jni/8.0.14/tomcat-jni-8.0.14.jar;C:/Users/v765348/.m2/repository/org/apache/tomcat/tomcat-util/8.0.14/tomcat-util-8.0.14.jar;C:/Users/v765348/.m2/repository/org/apache/tomcat/tomcat-util-scan/8.0.14/tomcat-util-scan-8.0.14.jar;C:/Users/v765348/.m2/repository/org/apache/tomcat/tomcat-coyote/8.0.14/tomcat-coyote-8.0.14.jar;C:/Users/v765348/.m2/repository/net/sf/opencsv/opencsv/2.3/opencsv-2.3.jar;C:/Users/v765348/.m2/repository/org/springframework/spring-test/4.1.1.RELEASE/spring-test-4.1.1.RELEASE.jar;C:/Users/v765348/.m2/repository/junit/junit/4.11/junit-4.11.jar;C:/Users/v765348/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar;C:/Users/v765348/.m2/repository/org/mockito/mockito-all/1.9.5/mockito-all-1.9.5.jar;C:/Users/v765348/.m2/repository/org/easytesting/fest-assert-core/2.0M10/fest-assert-core-2.0M10.jar;C:/Users/v765348/.m2/repository/org/easytesting/fest-util/1.2.5/fest-util-1.2.5.jar -Dgwt.persistentunitcachedir=C:\Users\v765348\AppData\Local\Temp\widgetset_com.verizon.secportal.widgetset.SecPortal_vaadinWidgetset49315133-5c5a-4794-a76c-f218673c923d com.vaadin.tools.WidgetsetCompiler -war src/main/webapp/VAADIN/widgetsets -deploy C:\Users\v765348\AppData\Local\Temp\widgetset_com.verizon.secportal.widgetset.SecPortal_vaadinWidgetset49315133-5c5a-4794-a76c-f218673c923d -extra C:\Users\v765348\AppData\Local\Temp\widgetset_com.verizon.secportal.widgetset.SecPortal_vaadinWidgetset49315133-5c5a-4794-a76c-f218673c923d -localWorkers 4 -logLevel INFO com.verizon.secportal.widgetset.SecPortal_vaadinWidgetset

Error: Could not find or load main class com.vaadin.tools.WidgetsetCompiler

Java HotSpot™ 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0

Widgetset compilation failed

Can any one please help? I am using vaadin 7 & jdk1.8

Thanks,
Murali.

I am sorry, seems entire log file got pested,

Error: Could not find or load main class com.vaadin.tools.WidgetsetCompiler

Java HotSpot™ 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0

Widgetset compilation failed

Can any one please help? I am using vaadin 7 & jdk1.8

Thanks,
Murali.

That is my problem too. Can somebody help me?

Caused by: java.lang.ClassNotFoundException: com.vaadin.tools.WidgetsetCompiler
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Widgetset compilation failed

Hi , if you are using eclipse then just check the following

  1. Ivy libraries are above every other libraries ( just below src and it is checked ) in java build path
  2. just below are the web app libraries and it is check as well
  3. clean - rebuild project and try again

I have had similar Error: Error: Could not find or load main class com.vaadin.tools.WidgetsetCompiler in Eclipse.

In my case helped to uncomment in pom.xm commented rows in dependencies:

<!-- Needed when using the widgetset optimizer (custom ConnectorBundleLoaderFactory).
  For widgetset compilation, vaadin-client-compiler is automatically added
  on the compilation classpath by vaadin-maven-plugin so normally there is
  no need for an explicit dependency. In Java 8 enable it -->
<dependency> <groupId>com.vaadin</groupId> <artifactId>vaadin-client-compiler</artifactId>
  <version>${vaadin.version}</version> <scope>provided</scope> </dependency>
<dependency>

For me, the solution was to resolve.
Right-click on project → Ivy → Resolve
. Takes a while as it re-downloads everything it needs, but then that problem went away. Now I just need to figure out why Tomcat won’t let me Republish.

Thank a lot for the hint. I had the very same problem using the
VLeaflet Example

Unlike stated in the comment, only after including the dependency it started to download the vaadin-client-compiler (using Java 1.6).

Worked perfect, Thanks!

ya for me also Working Fine . Thanks

Hello All,
Getting same error:

Error: Could not find or load main class com.vaadinclient.VaadinclientApplication

I am trying to create the demo program of client side development in vaadin. and I have created a springboot maven project in eclipse. I have done following steps to run the program.

  1. I have added all the dependencics in Pom.xml.
  2. I have created .gwt.xml file in src folder,
  3. I have web.xml in src/ewebapp/WEB-INF folder.
  4. and run the program

I am sharing you my project structure, pom.xml,web.xml, gwt.xml file for reference .
Pease help me !!!

23210.xml (553 Bytes)
23211.xml (227 Bytes)
23212.xml (3.4 KB)
23213.jpg

hi Anjali ,
Do one thing you manually complile the Widget set For this you first Select the VaadinclientWidget.gwt.xml file then
click on the compile widget icon button to compile the theme. See the Attachment
23214.png

Hey Rounak,

Thanks for your reply,
But when I am clicking on Compile widget icon button, following error is coming:
please find the attachment.

Thanks
Anjali Jain
23216.jpg

hi Anjali,
When you creating the maven project then in filter bar type
com.vaadin
then create the maven project.
find the Attachment
23217.png

Jacek Hełka:
I have the same problem when executing “Compile Vaadin widgets” option in Vaadin eclipse plugin.
At first the message was:

Could not find or load main class com.vaadin.tools.WidgetsetCompiler

Then I change the project’s Ivy configuration removing conf=“widgetset-compile->default” from vaadin-client-compiler dependency.
After that, the result of widgetset compilation was:

java.lang.NoSuchFieldError: warningThreshold

It seems that the same issue occurs when compiling widgets from an Vaadin eclipse plugin.

Regards,
Jacek

In my case removing conf=“widgetset-compile->default” from ivy.xml resolved the problem, and the Widgestset got compiled.

Florian