TOPIC: [ERROR] No plugin found for prefix 'vaadin'
7 months 3 days ago #424
Beim kompilieren von "diagram-builder" Add-ons wird Fehler ausgegeben:

[INFO] Scanning for projects...
[INFO] Downloading: repo.maven.apache.org/maven2/org/apache/...s/maven-metadata.xml
[INFO] Downloading: repo.maven.apache.org/maven2/org/codehau...o/maven-metadata.xml
[INFO] Downloaded: repo.maven.apache.org/maven2/org/codehau...o/maven-metadata.xml (20 KB at 23.1 KB/sec)
[INFO] Downloaded: repo.maven.apache.org/maven2/org/apache/...s/maven-metadata.xml (13 KB at 14.6 KB/sec)
[INFO]
[INFO] BUILD FAILURE
[INFO]
[INFO] Total time: 2.207 s
[INFO] Finished at: 2016-07-21T09:32:27+02:00
[INFO] Final Memory: 11M/155M
[INFO]
[ERROR] No plugin found for prefix 'vaadin' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\evn\.m2\repository), central (repo.maven.apache.org/maven2)] -> [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] cwiki.apache.org/confluence/display/MAVE...ndForPrefixException

POM.xml
_______________
<project xmlns="maven.apache.org/POM/4.0.0"
xmlns:xsi="www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="maven.apache.org/POM/4.0.0 maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.test</groupId>
<artifactId>test</artifactId>
<packaging>war</packaging>
<name>IKOL-URMC</name>
<version>0.1.0-SNAPSHOT</version>
<build>
<resources>
<resource>
<directory>src</directory>
<excludes>
<exclude>**/*.java</exclude>
<exclude>**/*.ui.xml</exclude>
</excludes>
</resource>
</resources>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<warSourceDirectory>WebContent</warSourceDirectory>
<failOnMissingWebXml>false</failOnMissingWebXml>
<warName>${project.name}</warName>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>vaadin-addons</id>
<url>maven.vaadin.com/vaadin-addons</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.xdev-software</groupId>
<artifactId>xdev-server-core</artifactId>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>com.xdev-software</groupId>
<artifactId>xdev-server-ui</artifactId>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>com.microsoft</groupId>
<artifactId>microsoft.jdbc</artifactId>
<version>4.1.0</version>
</dependency>
<dependency>
<groupId>com.xdev-software</groupId>
<artifactId>xdev-server-aa</artifactId>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>com.xdev-software</groupId>
<artifactId>xdev-server-aa-ui</artifactId>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-client-compiled</artifactId>
<version>7.6.8</version>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-push</artifactId>
<version>7.6.8</version>
</dependency>
<dependency>
<groupId>org.vaadin</groupId>
<artifactId>diagram-builder</artifactId>
<version>1.1</version>
</dependency>
</dependencies>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
</properties>
</project>

_____________
Servlet:
_____________

import javax.servlet.annotation.WebServlet;
import com.vaadin.annotations.JavaScript;
import com.vaadin.annotations.VaadinServletConfiguration;
import com.xdev.communication.XdevServlet;

@WebServlet(value = "/*", asyncSupported = true)
@VaadinServletConfiguration(productionMode = false, ui = MainUI.class,widgetset="org.vaadin.diagrambuilder.DiagramBuilder")
public class Servlet extends XdevServlet {
public Servlet() {
super();
}
}

________________
Fehler in der View:
________________
Failed to load the widgetset: ./VAADIN/widgetsets/org.vaadin.diagrambuilder.DiagramBuilder/org.vaadin.diagrambuilder.DiagramBuilder.nocache.js?1469087015923
Last Edit: 7 months 3 days ago by Alex_Kaslow.
The administrator has disabled public write access.
6 months 4 weeks ago #437
Vermute, dass das gleiche Problem wie hier vorliegt.
Last Edit: 6 months 4 weeks ago by UWK.
The administrator has disabled public write access.
6 months 3 weeks ago #442
Hallo,
das ist richtig, das hängt damit zusammen.
In diesen Beitrag hier wird nochmal darauf eingegangen.

Beim erwähnten "diagram-builder" AddOn ist noch darauf zu achten, dass für die "DiagramBuilder"-Komponente im UI oder in der View zusätzliche Javascript/Stylesheets mit "@Javascript("...")" und "@StyleSheet("...")" von einer externen Quelle geladen werden muss.

Der Code dazu kann dem Beispiel auf der AddOn-Seite entnommen werden.
RapidClipse Team
Last Edit: 6 months 3 weeks ago by RapidClipse Team.
The administrator has disabled public write access.