Error While adding addon dependency in pomfile

HI All,

I am getting the below error while adding the switch addon dependency in pomfile for my project.

Dependency

org.vaadin.teemu switch 3.0.0

Error

Oct 15, 2018 4:40:58 PM com.vaadin.wscdn.client.Connection queryRemoteWidgetSet
SEVERE: Failed to connect service https://wsc.vaadin.com/api/compiler/compile
javax.ws.rs.InternalServerErrorException: HTTP 500 Internal Server Error
at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.handleErrorStatus(ClientInvocation.java:189)
at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.extractResult(ClientInvocation.java:154)
at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.invoke(ClientInvocation.java:444)
at org.jboss.resteasy.client.jaxrs.internal.ClientInvocationBuilder.post(ClientInvocationBuilder.java:201)
at com.vaadin.wscdn.client.Connection.queryRemoteWidgetSet(Connection.java:69)
at com.vaadin.integration.maven.UpdateWidgetsetMojo.triggerCdnBuild(UpdateWidgetsetMojo.java:168)
at com.vaadin.integration.maven.UpdateWidgetsetMojo.doExecute(UpdateWidgetsetMojo.java:86)
at org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo.execute(AbstractGwtShellMojo.java:182)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:955)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:290)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:194)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

I am also attaching the pomfile. Please take a look.

Thanks in advance

–Serafin

17331227.xml (10.2 KB)

You are using Widgetset in cloud mode, i.e. fetch. This means that widgetset is not compiled locally, the plugin tries to download widgetset parts from our server. You get http 500 from our server, which may mean just temporary outage or congestion. So it could solve just by retrying. If not, there is something that blocks your access to our server. Then you need to compile widgetset locally, by modifying the pom.xml as follows, i.e. change “fetch” → “local”

<properties>
<vaadin.version>8.3.2</vaadin.version>
<vaadin-spring.version>3.0.0</vaadin-spring.version>
<vaadin.plugin.version>${vaadin.version}</vaadin.plugin.version>
<org.vaadin.spring.version>2.0.0.RELEASE</org.vaadin.spring.version>
<jersey-version>1.19</jersey-version>
<jackson-version>2.8.8</jackson-version>
<jodatime-version>2.9.9</jodatime-version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<vaadin.widgetset.mode>local</vaadin.widgetset.mode>
</properties>
<repositories>

\u0000Yes, I have changed the property from fetch to local and now it’s working fine. Thanks for the help Tatu Lund. \uD83D\uDE42