You need to build "utils" module first. Try run "mvn clean install" from the top level "netty-in-action" folder first.
On Tue, Sep 27, 2016 at 9:39 PM, L_DisplayName <[email protected]> wrote: > > Greetings All, > I am receiving the following error when I execute the command: *mvn clean > package *within Netty In Action's chapter 2 book code as follows: > /netty-in-action-2.0-SNAPSHOT/chapter2# mvn clean package > > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Chapter 2. Your First Netty Application - Echo App . SUCCESS [ > 2.352 s] > [INFO] Chapter 2. Echo Client ............................. FAILURE [ > 2.457 s] > [INFO] Chapter 2. Echo Server ............................. SKIPPED > [INFO] ------------------------------------------------------------ > ------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Total time: 4.936 s > [INFO] Finished at: 2016-09-27T20:36:45-06:00 > [INFO] Final Memory: 9M/143M > [INFO] ------------------------------------------------------------ > ------------ > *[ERROR] Failed to execute goal on project echo-client: Could not resolve > dependencies for project nia:echo-client:jar:2.0-SNAPSHOT: Could not find > artifact nia:utils:jar:2.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 > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :echo-client > > > I am using* maven version 3.3.9 *and *oracle java version 1.8.0*. Both > maven and java were added to my executable PATH. In addition, I downloaded > the latest book code from: https://github.com/ > normanmaurer/netty-in-action/tree/2.0-SNAPSHOT > > Can someone tell me how I can resolve this issue and why maven can not > find the artifact: nia:utils:jar:2.0-SNAPSHOT? > > -- > You received this message because you are subscribed to the Google Groups > "Netty discussions" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/netty/d680138d-5224-4a44-9f08-37cfa377a807%40googlegroups.com > <https://groups.google.com/d/msgid/netty/d680138d-5224-4a44-9f08-37cfa377a807%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Netty discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/netty/CAAUL18T9fSjtVG3%3DGaoSoUMiVr%2BiJ7XUvqk1dpj7Es-VM%3DLMLQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
