Git Product home page Git Product logo

Comments (5)

mattjlewis avatar mattjlewis commented on May 25, 2024

How are you running this test - can you share the command line please.

from diozero.

avysochin avatar avysochin commented on May 25, 2024

Dear Matt

pom - file

<dependency>
	    <groupId>com.diozero</groupId>
	    <artifactId>diozero-core</artifactId>
	    <version>0.10</version>
</dependency>
<dependency>
	    <groupId>com.diozero</groupId>
	    <artifactId>diozero-provider-sysfs</artifactId>
	    <version>0.8</version>
</dependency>
<dependency>
	    <groupId>com.diozero</groupId>
	    <artifactId>diozero-provider-jdkdio11</artifactId>
	    <version>0.10</version>
</dependency>
<dependency>
	    <groupId>org.tinylog</groupId>
	    <artifactId>tinylog</artifactId>
	    <version>1.3</version>
</dependency>

mvn compile
mvn exec:java -Dexec.mainClass="tinkerexample.App",

from diozero.

mattjlewis avatar mattjlewis commented on May 25, 2024

Ah, ok. Please use just diozero-core and not diozero-provider-sysfs. diozero-provider-sysfs was merged into diozero-core.
See the following documentation page: Creating Your Own diozero Application.
Matt

from diozero.

avysochin avatar avysochin commented on May 25, 2024

Dear Matt

change the pom file :

  <parent>
	<groupId>com.diozero</groupId>
	<artifactId>diozero</artifactId>
	<version>0.11-SNAPSHOT</version>
	<relativePath></relativePath>
</parent>
<repositories>
	<repository>
		<id>oss-snapshots-repo</id>
		<name>Sonatype OSS Maven Repository</name>
		<url>https://oss.sonatype.org/content/groups/public</url>
		<snapshots>
			<enabled>true</enabled>
			<updatePolicy>always</updatePolicy>
		</snapshots>
	</repository>
</repositories>
<dependencies>
	<dependency>
		<groupId>com.diozero</groupId>
		<artifactId>diozero-core</artifactId>
	</dependency>
</dependencies>

have delete sources files diozero/util/*.java from my local project directory
the run
mvn compile
mvn exec:java -Dexec.mainClass="tinkerexample.App"

Great
No errors

from diozero.

mattjlewis avatar mattjlewis commented on May 25, 2024

Glad to hear it is now working, let me know of any other issues.

from diozero.

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.