GithubHelp home page GithubHelp logo

Comments (4)

VaughnVernon avatar VaughnVernon commented on June 30, 2024

Are you referencing Java 7?

Otherwise don't worry. Just use the Java or C# source as a reference.
On Feb 18, 2014 10:11 AM, "Jorgen Horstink" [email protected]
wrote:

Hi,

We are preparing for the IDDD_Workshop in Paris and are getting to
following error when running gradle build. We are not so familiar with
Java (understatement), so I have no clue if this has to do with our Java
version, or some other settings.

I am working on a MacBook Air with Java 1.6.0_65. We used brew install
maven and brew install gradle to install gradle on our machines, so I
suppose we have the latest version. Anyone a clue?

.../IDDD_Samples/iddd_common/src/main/java/com/saasovation/common/port/adapter/messaging/slothmq/SlothWorker.java:152:
cannot find symbol
symbol : method bind(java.net.InetSocketAddress)
location: class java.nio.channels.ServerSocketChannel
this.socket.bind(new InetSocketAddress(discoveryPort));
^
.../IDDD_Samples/iddd_common/src/main/java/com/saasovation/common/port/adapter/messaging/slothmq/SlothWorker.java:191:
cannot find symbol
symbol : method bind(java.net.InetSocketAddress)
location: class java.nio.channels.ServerSocketChannel
this.socket.bind(new InetSocketAddress(HUB_PORT));
^
.../IDDD_Samples/iddd_common/src/main/java/com/saasovation/common/port/adapter/persistence/ResultSetObjectMapper.java:227:
cannot find symbol
symbol : method isAlphabetic(char)
location: class java.lang.Character
if (Character.isAlphabetic(ch) && Character.isUpperCase(ch)) {
^
3 errors
:iddd_common:compileJava FAILED

Reply to this email directly or view it on GitHubhttps://github.com//issues/9
.

from iddd_samples.

jorgenhorstink avatar jorgenhorstink commented on June 30, 2024

Thanks. I see you mentioned Java 7 in the e-mail I received... It is working now, except the testsuite that completely fails. But that has to do with leveldb. So I just cloned leveldb and ran mvn install. I am going to try to get it up and running. Thanks for the quick reply πŸ‘

from iddd_samples.

erikgerrits avatar erikgerrits commented on June 30, 2024

Same here, it seems to install correctly but the tests all fail...

192:IDDD_Samples erik$ gradle build
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:jar UP-TO-DATE
:assemble UP-TO-DATE
:compileTestJava UP-TO-DATE
:processTestResources UP-TO-DATE
:testClasses UP-TO-DATE
:test UP-TO-DATE
:check UP-TO-DATE
:build UP-TO-DATE
:iddd_common:compileJava UP-TO-DATE
:iddd_common:processResources UP-TO-DATE
:iddd_common:classes UP-TO-DATE
:iddd_common:jar UP-TO-DATE
:iddd_agilepm:compileJava UP-TO-DATE
:iddd_agilepm:processResources UP-TO-DATE
:iddd_agilepm:classes UP-TO-DATE
:iddd_agilepm:jar UP-TO-DATE
:iddd_agilepm:assemble UP-TO-DATE
:iddd_common:compileTestJava UP-TO-DATE
:iddd_common:processTestResources UP-TO-DATE
:iddd_common:testClasses UP-TO-DATE
:iddd_agilepm:compileTestJava UP-TO-DATE
:iddd_agilepm:processTestResources UP-TO-DATE
:iddd_agilepm:testClasses UP-TO-DATE
:iddd_agilepm:test

com.saasovation.agilepm.application.product.ProductApplicationServiceTest > testNewProduct FAILED
java.lang.IllegalStateException
Caused by: java.lang.IllegalArgumentException

com.saasovation.agilepm.application.product.ProductApplicationServiceTest > testNewProductWithDiscussion FAILED
java.lang.IllegalStateException
Caused by: java.lang.IllegalArgumentException

[A BUNCH OF OTHER FAILURES]

106 tests completed, 106 failed
:iddd_agilepm:test FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':iddd_agilepm:test'.

    There were failing tests. See the report at: file:///Users/erik/Dev/IDDD_Samples/iddd_agilepm/build/reports/tests/index.html

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

from iddd_samples.

michaelajr avatar michaelajr commented on June 30, 2024

Hi.

The tests require the infrastructure to be set up locally. So β€œskip tests” in your build process for now. (hoping someday to mock the tests).

I also have a pure Maven build over at my GitHub account for those that are more familiar with Maven:

https://github.com/michaelajr/IDDD_Samples

clone, then...

mvn -DskipTests=true compile

M

On Feb 18, 2014, at 6:08 AM, erikgerrits [email protected] wrote:

Same here, it seems to install correctly but the tests all fail...

192:IDDD_Samples erik$ gradle build
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:jar UP-TO-DATE
:assemble UP-TO-DATE
:compileTestJava UP-TO-DATE
:processTestResources UP-TO-DATE
:testClasses UP-TO-DATE
:test UP-TO-DATE
:check UP-TO-DATE
:build UP-TO-DATE
:iddd_common:compileJava UP-TO-DATE
:iddd_common:processResources UP-TO-DATE
:iddd_common:classes UP-TO-DATE
:iddd_common:jar UP-TO-DATE
:iddd_agilepm:compileJava UP-TO-DATE
:iddd_agilepm:processResources UP-TO-DATE
:iddd_agilepm:classes UP-TO-DATE
:iddd_agilepm:jar UP-TO-DATE
:iddd_agilepm:assemble UP-TO-DATE
:iddd_common:compileTestJava UP-TO-DATE
:iddd_common:processTestResources UP-TO-DATE
:iddd_common:testClasses UP-TO-DATE
:iddd_agilepm:compileTestJava UP-TO-DATE
:iddd_agilepm:processTestResources UP-TO-DATE
:iddd_agilepm:testClasses UP-TO-DATE
:iddd_agilepm:test

com.saasovation.agilepm.application.product.ProductApplicationServiceTest > testNewProduct FAILED
java.lang.IllegalStateException
Caused by: java.lang.IllegalArgumentException

com.saasovation.agilepm.application.product.ProductApplicationServiceTest > testNewProductWithDiscussion FAILED
java.lang.IllegalStateException
Caused by: java.lang.IllegalArgumentException

[A BUNCH OF OTHER FAILURES]

106 tests completed, 106 failed
:iddd_agilepm:test FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':iddd_agilepm:test'.

There were failing tests. See the report at: file:///Users/erik/Dev/IDDD_Samples/iddd_agilepm/build/reports/tests/index.html

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

β€”
Reply to this email directly or view it on GitHub.

from iddd_samples.

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.