Code Monkey home page Code Monkey logo

Comments (3)

manolo avatar manolo commented on September 24, 2024

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.

mshabarov avatar mshabarov commented on September 24, 2024

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.

mshabarov avatar mshabarov commented on September 24, 2024

Closed, since all the issues have been addressed.

from base-starter-flow-quarkus.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.