javalite / simple-example Goto Github PK
View Code? Open in Web Editor NEWActiveJDBC example project with Apache Maven
Home Page: http://javalite.io
ActiveJDBC example project with Apache Maven
Home Page: http://javalite.io
Exception in thread "main" org.javalite.activejdbc.DBException: Could not find configuration in a property file for environment: development. Are you sure you have a database.properties file configured?
at org.javalite.activejdbc.DB.open(DB.java:145)
at org.javalite.activejdbc.Base.open(Base.java:52)
at activejdbc.examples.simple.Main.main(Main.java:15)
when i execute "mvn activejdbc-instrumentation:instrument" this errror happpens :
[ERROR] Failed to execute goal org.javalite:activejdbc-instrumentation:2.0:instr
ument (default-cli) on project simple-example: Failed to add output directory to
classpath: org.javalite.instrumentation.InstrumentationException: java.lang.Run
timeException: cannot find dependency.com.mysql.fabric.FabricCommunicationExcept
ion: com.mysql.fabric.FabricCommunicationException found in dependency/com/mysql
/fabric/FabricCommunicationException.class -> [Help 1]
Hi
I am using gradlew in my project and eclipse - oxygen, wish to know how can I do the instrumentation using gradle and setup the eclipse IDE as well ?
Something Similer to maven - as explained here
https://github.com/javalite/simple-example#instrumentation
Thanks
After successfully following along the instructions of your ReadMe, the command line returns:
"Could not find or load main class"
when trying to execute:
java -classpath target/dependency:target/classes activejdbc.examples.simple.Main
Maven: 3.6.0
Java: jre1.8.0_191, jdk1.8.0_201
Best regards.
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.