Comments (3)
So regarding problem with repos, it seems that gradle needs the artifacts with a different name if we use then from the prereleases see what happens with local for vaadin and quarkus plugins:
Loading file:/Users/manolo/.m2/repository/com/vaadin/com.vaadin.gradle.plugin/22.0.0.alpha8/com.vaadin.gradle.plugin-22.0.0.alpha8.pom
Loading file:/Users/manolo/.m2/repository/io/quarkus/io.quarkus.gradle.plugin/2.2.2.Final/io.quarkus.gradle.plugin-2.2.2.Final.pom
But taking a look to prerelease listing we dont have any com.vaadin.gradle.plugin/22.0.0.alpha8
but flow-gradle-plugin/22.0.0.alpha8
Perhaps we need an extra step in builds for generating that artifacts
The content of the missing pom file, seems to have the maven dependency to the real artifact
cat /Users/manolo/.m2/repository/com/vaadin/com.vaadin.gradle.plugin/22.0.0.alpha8/com.vaadin.gradle.plugin-22.0.0.alpha8.pom
<?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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.vaadin</groupId>
<artifactId>com.vaadin.gradle.plugin</artifactId>
<version>22.0.0.alpha8</version>
<packaging>pom</packaging>
<dependencies>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-gradle-plugin</artifactId>
<version>22.0.0.alpha8</version>
</dependency>
</dependencies>
</project>
from base-starter-flow-quarkus.
2021-10-21 11:00:03,422 ERROR [io.und.req.io] (executor-thread-0) Exception handling request 994a1511-f952-48e8-a987-f99107ae1572-1 to /: java.lang.NullPointerException: Cannot invoke "com.vaadin.flow.server.VaadinService.getContext()" because "service" is null
at com.vaadin.flow.internal.DevModeHandlerManager.getDevModeHandler(DevModeHandlerManager.java:87)
Should be fixed by #14
- What went wrong:
Execution failed for task ':vaadinBuildFrontend'.
com.vaadin.flow.server.ExecutionFailedException: Error occured during goal execution: './build/flow-frontend/form' is not a valid version!Please run Maven with the -e switch (or Gradle with the --stacktrace switch), to learn the full stack trace.
Should be fixed by removing package.json
and pnpm-lock.yaml
, and flow will re-generate those. There was a change between 21 and 22 which altered the @vaadin/flow-frontend/form
dependency and it's not compatible with v22.
I tested both dev and prod mode with 21.0.3 and 22.0.0.alpha9 and it works for me with the fixed described above.
from base-starter-flow-quarkus.
Closed, since all the issues have been addressed.
from base-starter-flow-quarkus.
Related Issues (18)
- Generate a Gradle branch for starter HOT 1
- PiT: set execution permissions to the `gradlew` in gradle branch HOT 1
- The outdated mvnw breaks the project with Quarkus CLI HOT 1
- PiT: project in dev-mode does not work in gitpod HOT 4
- Issue with adding a specific `I18NProvider` implementation HOT 3
- JNA class not found and websocket warnings on startup HOT 3
- PiT v23: project not running HOT 2
- UI (almost) endlessly reloads, when running containerized from Kubernetes cluster of several pods HOT 6
- Missing pnpm dependencies when building Quarkus starter on Jenkins using Gradle HOT 12
- Update Quarkus to latest version
- OIDC Authentication HOT 5
- CDI issue HOT 3
- Vaadin Fusion + Quarkus
- Undertow NoClassDefFoundError HOT 2
- Task vaadinBuildFrontend fails on Gitlab Pipeline with dependency error HOT 3
- PiT: define a defaultGoal in pom
- PiT: add the maven wrapper to the project
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from base-starter-flow-quarkus.