jsuereth / spring-akka-sample Goto Github PK
View Code? Open in Web Editor NEWSpring-akka sample for SpringOne 2012 talk.
Spring-akka sample for SpringOne 2012 talk.
~/a/spring-akka-sample> mvn clean install jetty:run
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.springframework.samples:travel:war:1.0.0-BUILD-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 273, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 333, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ line 281, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] -----------------< org.springframework.samples:travel >-----------------
[INFO] Building travel 1.0.0-BUILD-SNAPSHOT
[INFO] --------------------------------[ war ]---------------------------------
[WARNING] The POM for joda-time:joda-time-jsptags:jar:1.0.2 is missing, no dependency information available
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ travel ---
[INFO] Deleting /Users/aironman/akka-spring/spring-akka-sample/target
[INFO]
[INFO] --- aspectj-maven-plugin:1.2:compile (default) @ travel ---
[ERROR] The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
[ERROR] The type java.lang.Enum cannot be resolved. It is indirectly referenced from required .class files
[ERROR] The type Enum is not generic; it cannot be parameterized with arguments
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.486 s
[INFO] Finished at: 2019-02-27T12:47:08+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.2:compile (default) on project travel: Compiler errors :
[ERROR] error at (no source information available)
[ERROR] /Users/aironman/akka-spring/spring-akka-sample/src/main/java/org/springframework/samples/travel/Amenity.java:1:0::0 The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
[ERROR] error at (no source information available)
[ERROR] /Users/aironman/akka-spring/spring-akka-sample/src/main/java/org/springframework/samples/travel/Amenity.java:1:0::0 The type java.lang.Enum cannot be resolved. It is indirectly referenced from required .class files
[ERROR] error at (no source information available)
[ERROR] /Users/aironman/akka-spring/spring-akka-sample/src/main/java/org/springframework/samples/travel/Amenity.java:1:0::0 The type Enum is not generic; it cannot be parameterized with arguments
[ERROR]
[ERROR] -> [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] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
aironman@MacBook-Pro-Retina-de-Alonso ~/a/spring-akka-sample> mvn --version
Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T20:41:47+02:00)
Maven home: /usr/local/Cellar/maven/3.6.0/libexec
Java version: 10.0.1, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home
Default locale: es_ES, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.2", arch: "x86_64", family: "mac"
Your example is quite useful and motivating for Spring Developers to try out akka.
Currently very rare information is available in terms of a working source code for Integration between Spring & Akka. Your is very useful example but it makes the use of
Scala code.
Can you add the Latest Akka Java API version of Actors in the project instead of Scala Code ?
It may not be the difficult task for you and may take several hours but for Akka newbies with Java background will have a tremendous help from this project.
The slide attached in this project deserves to get more readers in different Akka forums, it is an excellent piece of akka tutorial !
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.