play1 icon indicating copy to clipboard operation
play1 copied to clipboard

can not get package of a class.

Open a95417079 opened this issue 7 years ago • 6 comments

default

why always get a null. i want get package of the class

a95417079 avatar Dec 13 '18 12:12 a95417079

default

this is a class of spring.it works well. what is wrong ?

a95417079 avatar Dec 13 '18 12:12 a95417079

@a95417079 Sorry, but why are you asking it in Play1 github? Your question is about a standard Java classloading mechanism. It's not related to Play framework.

asolntsev avatar Dec 13 '18 23:12 asolntsev

@asolntsev is it possible Play1 interacts with (or overrides) the standard class loader to cause this?

tazmaniax avatar Dec 13 '18 23:12 tazmaniax

image their package is empty.

a95417079 avatar Dec 14 '18 02:12 a95417079

@asolntsev is it possible Play1 interacts with (or overrides) the standard class loader to cause this?

It seems like this.

a95417079 avatar Dec 14 '18 02:12 a95417079

image

it can works well

a95417079 avatar Dec 14 '18 09:12 a95417079