Compiling log4j and slf4j-api

"Ian Marteens" <[email protected]> Fri, 27 Oct 2017 13:39:38 +0200
Newsgroups gmane.comp.java.ikvm.devel
Organization Intuitive Sight
Message-ID <[email protected]>
This is a multipart message in MIME format.

--===============2978348885412582032==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0009_01D34F29.094F4600"
Content-Language: es

This is a multipart message in MIME format.

------=_NextPart_000_0009_01D34F29.094F4600
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi, all:

 

I'm using IKVM 8.1.5717. I'm trying to compile log4j and slf4j-api to DLL.

 

When compiling log4j, IKVM complains about some javax.jms and javax.mail
classes. I understand from previous messages that I can ignore the warning
if I don't use that bindings.

 

My real problem is with slf4j-api-1.6.1. and slf4j-log4j12-1.6.1. These are
the compiling errors I get:

 

note IKVMC0002: Output file is "slf4j-log4j12-1.6.1.dll"

warning IKVMC0100: Class "org.slf4j.helpers.MarkerIgnoringBase" not found

warning IKVMC0100: Class "org.slf4j.ILoggerFactory" not found

warning IKVMC0100: Class "org.slf4j.spi.MDCAdapter" not found

warning IKVMC0100: Class "org.slf4j.spi.LoggerFactoryBinder" not found

warning IKVMC0100: Class "org.slf4j.spi.MarkerFactoryBinder" not found

 

note IKVMC0002: Output file is "slf4j-api-1.6.1.dll"

warning IKVMC0100: Class "org.slf4j.impl.StaticLoggerBinder" not found

warning IKVMC0100: Class "org.slf4j.impl.StaticMarkerBinder" not found

 

My application use a third-party JAR from LCH Clearnet that internally use
log4j. Execution fails when it tries to load StaticLoggerBinder.

 

Any clues, please?

 

Best regards,

 

Ian Marteens

Comunytek Consultores

 


------=_NextPart_000_0009_01D34F29.094F4600
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 15 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EstiloCorreo17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DES =
link=3D"#0563C1" vlink=3D"#954F72"><div class=3DWordSection1><p =
class=3DMsoNormal>Hi, all:<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
lang=3DEN-GB>I&#8217;m using IKVM 8.1.5717. I&#8217;m trying to compile =
log4j and slf4j-api to DLL.<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB>When compiling log4j, IKVM =
complains about some javax.jms and javax.mail classes. I understand from =
previous messages that I can ignore the warning if I don&#8217;t use =
that bindings.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB>My real problem is with slf4j-api-1.6.1. and =
slf4j-log4j12-1.6.1. These are the compiling errors I =
get:<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB>note IKVMC0002: Output file is =
&quot;slf4j-log4j12-1.6.1.dll&quot;<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB>warning IKVMC0100: Class =
&quot;org.slf4j.helpers.MarkerIgnoringBase&quot; not =
found<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB>warning IKVMC0100: Class =
&quot;org.slf4j.ILoggerFactory&quot; not found<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB>warning IKVMC0100: Class =
&quot;org.slf4j.spi.MDCAdapter&quot; not found<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB>warning IKVMC0100: Class =
&quot;org.slf4j.spi.LoggerFactoryBinder&quot; not =
found<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB>warning IKVMC0100: Class =
&quot;org.slf4j.spi.MarkerFactoryBinder&quot; not =
found<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB>note IKVMC0002: Output file is =
&quot;slf4j-api-1.6.1.dll&quot;<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB>warning IKVMC0100: Class =
&quot;org.slf4j.impl.StaticLoggerBinder&quot; not =
found<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB>warning IKVMC0100: Class =
&quot;org.slf4j.impl.StaticMarkerBinder&quot; not =
found<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB>My application use a third-party JAR from LCH Clearnet that =
internally use log4j. Execution fails when it tries to load =
StaticLoggerBinder.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB>Any clues, please?<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB>Best =
regards,<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB>Ian Marteens<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-GB>Comunytek =
Consultores<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-GB><o:p>&nbsp;</o:p></span></p></div></body></html>
------=_NextPart_000_0009_01D34F29.094F4600--



--===============2978348885412582032==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--===============2978348885412582032==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ikvm-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ikvm-developers

--===============2978348885412582032==--