Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDEA2017 : 解决日志不打印问题 #4

Open
AndyMeng2017 opened this issue Apr 2, 2019 · 0 comments
Open

IDEA2017 : 解决日志不打印问题 #4

AndyMeng2017 opened this issue Apr 2, 2019 · 0 comments

Comments

@AndyMeng2017
Copy link

由于不是按照约定的maven项目的结构,导致日志只能打印 error 以上级别,调整为约定的maven目录结构就好了。同时附上 pom.xml。


4.0.0
nettybook2
nettybook2
0.0.1-SNAPSHOT

<properties>
	<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
	<dependency>
		<groupId>io.netty</groupId>
		<artifactId>netty-all</artifactId>
		<version>5.0.0.Alpha1</version>
	</dependency>
	<dependency>
		<groupId>io.netty</groupId>
		<artifactId>netty-example</artifactId>
		<version>5.0.0.Alpha1</version>
	</dependency>
	<dependency>
		<groupId>com.google.protobuf</groupId>
		<artifactId>protobuf-java</artifactId>
		<version>2.5.0</version>
	</dependency>
	<dependency>
		<groupId>org.jboss.marshalling</groupId>
		<artifactId>jboss-marshalling</artifactId>
		<version>1.4.10.Final</version>
	</dependency>
	<dependency>
		<groupId>org.jboss.marshalling</groupId>
		<artifactId>jboss-marshalling-serial</artifactId>
		<version>1.4.10.Final</version>
	</dependency>
	<dependency>
		<groupId>org.apache.bcel</groupId>
		<artifactId>bcel</artifactId>
		<version>5.2</version>
	</dependency>
	<dependency>
		<groupId>stax</groupId>
		<artifactId>stax-api</artifactId>
		<version>1.0.1</version>
	</dependency>
	<dependency>
		<groupId>org.codehaus.woodstox</groupId>
		<artifactId>wstx-asl</artifactId>
		<version>3.2.9</version>
	</dependency>
	<dependency>
		<groupId>org.jibx</groupId>
		<artifactId>jibx-bind</artifactId>
		<version>1.2.5</version>
	</dependency>
	<dependency>
		<groupId>org.jibx</groupId>
		<artifactId>jibx-run</artifactId>
		<version>1.2.5</version>
	</dependency>
	<dependency>
		<groupId>org.jibx</groupId>
		<artifactId>jibx-extras</artifactId>
		<version>1.2.5</version>
	</dependency>
	<dependency>
		<groupId>org.jibx</groupId>
		<artifactId>jibx-schema</artifactId>
		<version>1.2.5</version>
	</dependency>
	<dependency>
		<groupId>org.jibx</groupId>
		<artifactId>jibx-tools</artifactId>
		<version>1.2.5</version>
	</dependency>
	<dependency>
		<groupId>xpp3</groupId>
		<artifactId>xpp3</artifactId>
		<version>1.1.4c</version>
	</dependency>
	<dependency>
		<groupId>org.ogce</groupId>
		<artifactId>xpp3</artifactId>
		<version>1.1.6</version>
	</dependency>
	<dependency>
		<groupId>org.apache.ant</groupId>
		<artifactId>ant</artifactId>
		<version>1.9.4</version>
	</dependency>
	<dependency>
		<groupId>joda-time</groupId>
		<artifactId>joda-time</artifactId>
		<version>2.6</version>
	</dependency>
	<dependency>
		<groupId>com.thoughtworks.qdox</groupId>
		<artifactId>qdox</artifactId>
		<version>1.12.1</version>
	</dependency>
	<dependency>
		<groupId>commons-logging</groupId>
		<artifactId>commons-logging</artifactId>
		<version>1.1.1</version>
	</dependency>
	<dependency>
		<groupId>log4j</groupId>
		<artifactId>log4j</artifactId>
		<version>1.2.17</version>
	</dependency>
	<dependency>
		<groupId>junit</groupId>
		<artifactId>junit</artifactId>
		<version>4.12</version>
	</dependency>
</dependencies>

<build>
	<finalName>nettybook2</finalName>
	<plugins>
		<plugin>
			<groupId>org.apache.maven.plugins</groupId>
			<artifactId>maven-compiler-plugin</artifactId>
			<version>3.5.1</version>
			<configuration>
				<source>1.7</source>
				<target>1.7</target>
			</configuration>
		</plugin>
		<plugin>
			<groupId>org.apache.maven.plugins</groupId>
			<artifactId>maven-resources-plugin</artifactId>
			<version>3.0.1</version>
			<configuration>
				<encoding>UTF-8</encoding>
			</configuration>
		</plugin>
	</plugins>
</build>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant