Git Product home page Git Product logo

Comments (12)

vietj avatar vietj commented on August 21, 2024

I think one issue is that the groovy-all jar does not exist anymore

from vertx-lang-groovy.

vietj avatar vietj commented on August 21, 2024

so we need to find the right dep to use

from vertx-lang-groovy.

aaloise avatar aaloise commented on August 21, 2024

Found the following post on Twitter:

@daniel_sun
Since #groovylang 2.5.0, pls grab groovy-all dependency as follows:
#gradle:
compile 'org.codehaus.groovy:groovy-all:x.y.z'

#maven:

<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>x.y.z</version>
<type>pom</type> <!-- the key difference -->

https://twitter.com/daniel_sun/status/1003474637697642496

from vertx-lang-groovy.

vietj avatar vietj commented on August 21, 2024

from vertx-lang-groovy.

aaloise avatar aaloise commented on August 21, 2024

Done #58

from vertx-lang-groovy.

aaloise avatar aaloise commented on August 21, 2024

And also #59 , in #58 I forgot to edit pom.xml of codegen

from vertx-lang-groovy.

vietj avatar vietj commented on August 21, 2024

can you close them and make a single PR @aaloise ?

from vertx-lang-groovy.

aaloise avatar aaloise commented on August 21, 2024

Closed #58 and #59, also created #60 with both files changed

from vertx-lang-groovy.

aaloise avatar aaloise commented on August 21, 2024

Well, since #60 didn't work, I look around a little and found this at Grovvy install directions using Maven in the official site:

<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>2.5.0</version>

http://groovy-lang.org/install.html#_maven_repository

Seems pretty much the same like it was with 2.4

from vertx-lang-groovy.

aaloise avatar aaloise commented on August 21, 2024

@vietj sorry to ask, but witch version of JDK was used to compile after #60 got merged?

from vertx-lang-groovy.

vietj avatar vietj commented on August 21, 2024

java version "1.8.0_172"

from vertx-lang-groovy.

aaloise avatar aaloise commented on August 21, 2024

The compilation errors are because at compile time packages from Groovy aren't being found. Errors such as "package org.codehaus.groovy.ast does not exist" and "ScriptVerticle.java:[38,17] cannot find symbol symbol: class Script location: class io.vertx.lang.groovy.ScriptVerticle" are happening.

It's like Groovy dependency does not get downloaded or it is not present at compile phase. I don't know exactly what it is, but I suspect that something must be ajusted in pom.xml, but don't know what precisely.

Don't know much about Maven, so I got stuck on this one.

from vertx-lang-groovy.

Related Issues (20)

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.