今天用swt组件写图书管理系统时碰见这个报错提示:javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial。,如下图:

javax.naming.NoInitialContextException: Need to specify class name in environment or system property


即,报错内容是:需要在环境或系统属性指定类名,或作为applet参数,或在应用程序资源文件。

所以可检查DBHelper环境搭建有没有错误。

相关文章:

  • 2022-01-11
  • 2021-09-15
  • 2022-12-23
  • 2021-11-18
  • 2021-11-14
  • 2021-04-26
  • 2022-12-23
  • 2021-08-18
猜你喜欢
  • 2021-07-23
  • 2021-05-30
  • 2022-12-23
  • 2021-11-01
  • 2021-10-10
  • 2022-12-23
相关资源
相似解决方案