logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: Log4j2 UDP socket configure error. Class not found org.apache.logging.log4j.core.impl.Log4jLogEvent$LogEventProxy
Date Mon, 29 Apr 2013 11:50:54 GMT
Does the error happen from maven or your IDE?

Gary

On Apr 29, 2013, at 7:43, Remko Popma <remkop@yahoo.com> wrote:

> Imesh,
>
> It is hard to see what could be the problem based on your description.
> I created this JIRA ticket for the issue you describe:
> https://issues.apache.org/jira/browse/LOG4J2-228
>
>
> Would it be possible for you to attach a test program that demonstrates the issue to
that JIRA ticket?
>
> Kind regards,
> Remko
>
>
> ________________________________
> From: Imesh Damith <imesh@rezgateway.com>
> To: log4j-user@logging.apache.org
> Sent: Monday, April 29, 2013 3:47 PM
> Subject: Re: Log4j2 UDP socket configure error. Class not found org.apache.logging.log4j.core.impl.Log4jLogEvent$LogEventProxy
>
>
> Hi All,
>
> Reminding !!, Can anyone help me please?
>
>
> Regards,
> Imesh
>
> On Wednesday 10 April 2013 04:15 PM, Imesh Damith wrote:
>> Hi,
>>
>> I'm trying to use UDP server to log my messages. For this I use LOG4J2.
>> But I got below error in the server side.
>>
>> ClassNotFoundException Error : java.lang.ClassNotFoundException:
>> org.apache.logging.log4j.core.impl.Log4jLogEvent$LogEventProxy
>>
>>
>> Below is my server side code.
>>
>>
>> ByteArrayInputStream bis = new ByteArrayInputStream(packet.getData());
>> ObjectInputStream obj = new ObjectInputStream(bis);
>> LogEvent logEvent = (LogEvent) obj.readObject();
>>
>> System.out.println(logEvent.toString());
>>
>>
>> Below is my pom.xml file dependency.
>>
>> <dependency>
>> <groupId>org.apache.logging.log4j</groupId>
>> <artifactId>log4j-api</artifactId>
>> <version>2.0-beta4</version>
>> </dependency>
>> <dependency>
>> <groupId>org.apache.logging.log4j</groupId>
>> <artifactId>log4j-core</artifactId>
>> <version>2.0-beta4</version>
>> </dependency>
>>
>>
>>
>>
>> Thanks in advance,
>> Imesh
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message