Comments (12)
I think one issue is that the groovy-all jar does not exist anymore
from vertx-lang-groovy.
so we need to find the right dep to use
from vertx-lang-groovy.
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.
from vertx-lang-groovy.
Done #58
from vertx-lang-groovy.
And also #59 , in #58 I forgot to edit pom.xml of codegen
from vertx-lang-groovy.
can you close them and make a single PR @aaloise ?
from vertx-lang-groovy.
Closed #58 and #59, also created #60 with both files changed
from vertx-lang-groovy.
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.
@vietj sorry to ask, but witch version of JDK was used to compile after #60 got merged?
from vertx-lang-groovy.
java version "1.8.0_172"
from vertx-lang-groovy.
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)
- Documentation rework
- Update versions
- Consecutive calls to promise.future() return different instances when debugging HOT 30
- Exception in thread "main" java.lang.IllegalStateException: Result is already complete HOT 2
- Access members in JsonObject via dot notation throws Exception HOT 10
- CVE-2021-45105
- CVE-2021-45105
- Issue with JsonObject when converting to Map HOT 14
- Remove the migration Groovy transformation
- Vertx extension module overrides original MetaClass extension modules
- Unable to resolve class HOT 2
- Upgrade Groovy version to 2.4.15 HOT 1
- FastClasspathScanner is outdated -- consider porting to ClassGraph HOT 2
- Remove usage of groovy-all
- Code generation pruning
- Groovy operators for Vert.x
- Remove Groovy verticle class
- Groovy: eventBus.send() with DeliveryOptions fails in 3.6.3 HOT 10
- Reactive SQL Client is not integrated
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 vertx-lang-groovy.