Git Product home page Git Product logo

Comments (7)

bcsorba avatar bcsorba commented on May 27, 2024

Hi Andrea,

I would try including the hk2 and the javaee-api jars that are specified in the pom.xml files. These are currently runtime dependencies of the tracker and the lack of them may be causing your hang.

Let me know if this resolves it!

from matomo-java-tracker.

rivoduck avatar rivoduck commented on May 27, 2024

Hello Brett,

now I removed the previous jars and included the following:
piwik-java-tracker-1.0.2.jar
hk2-api-2.4.0.jar
hk2-locator-2.4.0.jar
hk2-utils-2.4.0.jar
javax.inject-2.4.0.jar
javaee-api-5.jar

It still hangs on the constructor, I am using Java 1.8, recompiling your code did not change the behaviour either.

Thank you for your help!
Andrea

from matomo-java-tracker.

rivoduck avatar rivoduck commented on May 27, 2024

Added more jars at no avail
piwik-java-tracker-1.0.2.jar
hk2-api-2.4.0.jar
hk2-locator-2.4.0.jar
hk2-utils-2.4.0.jar
javax.inject-2.4.0.jar
javaee-api-5.jar
jersey-guava-2.20.jar
jersey-common-2.20.jar
aopalliance-repackaged-2.4.0.jar

from matomo-java-tracker.

rivoduck avatar rivoduck commented on May 27, 2024

Can the problem be related to the fact that I am using java 1.8?

from matomo-java-tracker.

rivoduck avatar rivoduck commented on May 27, 2024

Hi Brett,

with these jars it looks like it is working!!!!

piwik-java-tracker-1.0.2.jar
hk2-api-2.4.0.jar
hk2-locator-2.4.0.jar
hk2-utils-2.4.0.jar
javax.inject-2.4.0.jar
jersey-guava-2.20.jar
jersey-common-2.20.jar
aopalliance-repackaged-2.4.0.jar
javax.json-1.0.4.jar
javaee-api-7.0.jar

I replaced javaee-5 with javaee-7 which contains UriBuilder that is not present in javaee-5

Thank you,
Andrea

from matomo-java-tracker.

rivoduck avatar rivoduck commented on May 27, 2024

I am still not sure if they are all needed or if some jar can be removed

from matomo-java-tracker.

rivoduck avatar rivoduck commented on May 27, 2024

The software works with Java JDK 1.8 with the following jars included:

piwik-java-tracker-1.0.2.jar
hk2-api-2.4.0.jar
hk2-locator-2.4.0.jar
hk2-utils-2.4.0.jar
javax.inject-2.4.0.jar
jersey-guava-2.20.jar
jersey-common-2.20.jar
aopalliance-repackaged-2.4.0.jar
javax.json-1.0.4.jar
javaee-api-7.0.jar

(downloaded from http://mvnrepository.com/ )

Closing the issue.
Thank you!
Andrea

from matomo-java-tracker.

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.