NoClassDefFound error

前端 未结 1 1853
旧巷少年郎
旧巷少年郎 2021-01-26 01:38
java.lang.NoClassDefFoundError: javax/mail/Authenticator

I have added the activator and mail jars to my server/deps directory, and am still encounterin

1条回答
  •  失恋的感觉
    2021-01-26 02:20

    Keep in mind NoClassDefFoundError isn't the same as ClassNotFoundException. NoClassDefFoundError means that a class that was available in the classpath at compile time isn't available at runtime. Are you sure your jar files are in the runtime classpath?

    0 讨论(0)
提交回复
热议问题