0

I tried adding a wildcarded Class-Path to my manifest.

`Class-Path: . ../webapps/ROOT/lib/*'

But when I was trying to refer to one of the jars in the wildcarded name. I got a ClassNotFoundException.

I was under the impression that from JDK6 onwards, java does support wildcarded classpath. Have I done something wrong here? or Do I need to list all individually?

ha9u63a7
  • 6,233
  • 16
  • 73
  • 108
  • No... https://docs.oracle.com/javase/tutorial/deployment/jar/downman.html – Usagi Miyamoto Oct 02 '17 at 12:02
  • The value of the Class-Path attribute is a space-separated list of relative URLs. See https://docs.oracle.com/javase/9/docs/specs/jar/jar.html#class-path-attribute. – VGR Oct 02 '17 at 14:53

0 Answers0