packtpublishing / learn-java-17-programming Goto Github PK
View Code? Open in Web Editor NEWLearn Java 17 Programming, published by Packt
License: MIT License
Learn Java 17 Programming, published by Packt
License: MIT License
Hello,
I followed the steps to first download the github repo, and then open it in IntelliJ IDEA 2022.2 However, step 7 on p19 of the book says there is a popup that says "Maven build scripts found", but that popup does not show up on my IntelliJ IDEA. As a result, the modules do not look like step 12 on p21 of the book. It looks like the following image (there is an extra layer of LearnJava, and the subfolders are not loaded as modules. Can you please tell me how to create modules and the file structure as you have in the book, or is that not necessary? Do we need a root pom.xml in the repo?
Hi, I've followed your instructions exactly, but when I get to page 22 and run mvn clean package
I get the following error:
[INFO] Scanning for projects...
[INFO]
[INFO] --------------------< com.packt.learnjava:examples >--------------------
[INFO] Building examples 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for com.packt.learnjava:database:jar:1.0-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.245 s
[INFO] Finished at: 2022-11-26T21:25:58Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project examples: Could not resolve dependencies for project com.packt.learnjava:examples:jar:1.0-SNAPSHOT: Could not find artifact com.packt.learnjava:database:jar:1.0-SNAPSHOT -> [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/DependencyResolutionException
I've don't know what's going on here and it's preventing me from progressing with the book. Do you know how I can fix this?
Thanks!
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.