Run mvn compile in the common sub-project first. These classes are generated.
> On 13 Jul 2016, at 23:40, Ming <[email protected]> wrote: > > Hi, > > I am new to netty, and want to set up a netty dev environment using IntelliJ, > and would like to try the examples. I am using IntelliJ Ultimate 14, JDK 1.7, > and Mac El Capitan. I have no problem working on other projects. > > Simply what I did is: > 1. git clone [email protected]:netty/netty.git > 2. In IntelliJ File-Open-pom.xml in the netty folder. (I also tried to > directly open netty folder, which produced the same error). > 3. Go to one example > (netty/example/src/main/java/io/netty/example/proxy/HexDumpProxy.java), right > click and run it. > > Then I got a number of error msgs (see below). > May I know if there is anything wrong in the setting? > > Thanks, > Ming > > Error messages > > Error:(21, 32) java: package io.netty.util.collection does not exist > Error:(22, 32) java: package io.netty.util.collection does not exist > Error:(79, 13) java: cannot find symbol > symbol: class LongObjectMap > location: class io.netty.handler.codec.redis.FixedRedisMessagePool > Error:(80, 13) java: cannot find symbol > symbol: class LongObjectMap > location: class io.netty.handler.codec.redis.FixedRedisMessagePool > Warning:(89, 35) java: unmodifiableBuffer(io.netty.buffer.ByteBuf) in > io.netty.buffer.Unpooled has been deprecated > Warning:(99, 35) java: unmodifiableBuffer(io.netty.buffer.ByteBuf) in > io.netty.buffer.Unpooled has been deprecated > Error:(107, 30) java: cannot find symbol > symbol: class LongObjectHashMap > location: class io.netty.handler.codec.redis.FixedRedisMessagePool > Error:(108, 30) java: cannot find symbol > symbol: class LongObjectHashMap > location: class io.netty.handler.codec.redis.FixedRedisMessagePool > Warning:(111, 42) java: unmodifiableBuffer(io.netty.buffer.ByteBuf) in > io.netty.buffer.Unpooled has been deprecated > > -- > 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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/netty/7baed4d4-45fe-48a6-8a70-0babe7d676fc%40googlegroups.com > > <https://groups.google.com/d/msgid/netty/7baed4d4-45fe-48a6-8a70-0babe7d676fc%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <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/92148DFB-7BD9-4BF2-9DEB-9247E1B5001E%40googlemail.com. For more options, visit https://groups.google.com/d/optout.
