-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Michael,

On 9/20/14 9:03 AM, Michael Trosin wrote:
> again I have a question, could anyone have a look, please? That
> would be great! :)
> 
> http://stackoverflow.com/questions/25944468/jsp-compilation-error-with-custom-classloader
>
>  I have no idea, why it's working in eclipse and not in a normal
> environment.

Please post your whole question to the list instead of just a
reference to a question on SO. "If it didn't happen on a list, it
didn't happen."

The JSP compiler sometimes has a tough time dealing with items in the
classpath that can be resolved to both a `package` (directory) and a
`class` (`.class` file). If your classes are being loaded from a JAR
file, try to remove the directory entry from the JAR file (but leave
the `.class` file, of course).

If the directories and classes are on the disk, you might have to suck
it up and re-name either the package or the directory.

The difference in Eclipse versus standalone might have to do with the
different deployment descriptor that Eclipse uses. You might want to
check out what Eclipse is doing... there might be a slightly different
configuration or packaging strategy in play.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJUHbdEAAoJEBzwKT+lPKRYDn4QAIl2iuSjZxUyzix/WG5jg0wb
RXFiUwLaOZCCauV10r2zlyAWiS/6DEN1XwHSagm6qeIJqA78F57LCfQ2oj3YQ0tq
eEXl8ZlsI8G485I6EL0fneRqhE0LvG0xZuHDzhyNkYyZNz+lCSSI7wwf44sH5+mF
Ypwr6tsj3g8V0NbplJW7bloLZjaboX8nGDURyeOs/tNXwJKpmcpUcP4NEUbcakvj
GRl6D3Wmhr3B69WfV3IHdZQgyILTA+b+JhMq/NzaFfvRd1kmH9HF1lTiN0Uq65Sp
OwaXTL8gvJiLO8iDzvgsEVz447h0dBL5VYN6hKQht2xK212zasoZ3OxgsnNG0EIV
YhJ+ARy/4935pOjudMTxtRLhVPsLue2WJaUw0ofTm2wmmt5u35BenOp1CMMmQg6b
mJZD4DrhShr2niq5i6CH8Xl+QRei/qrZanwQvZlM4BTMeJi+AC9uyESbX2UoF5RF
3pZY8c1BSObTvpZvF9+YZsbNj/Pq9wCz0I4PxlgZnV4y6W7ytyxBocbNGhssYDbY
yjbdmRx3HuutXHjBN0QID14aRctfQKPyks6wPK34HiZYcBTULJlQOiiIV9NxY/Qp
A5VWuoRuGQnX1xUTl2Oofg+swCmsBpMbLwhdTjzgDcaujYfJGPRgJRRm12tDa5xl
MRvF8KB49zC79NLkqjsZ
=rLeF
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to