java菜鸟问题记录当遇到--started with null constructor
2012-01-25 15:57
597 查看
本人编写了一个小程序后报错显示:
IWAV0048I Java Bean ManagerTest started with null constructor
经查证后才知道:
这个不是错误,是程序运行时没有入口,这不是一个application,只是一个Bean,而我的ManagerTest类是main函数,结果检查了一下是因为自己的mian拼错了
这是个极为低级的错误,但是找的时候也挺烦人的,希望有类似问题的同学可以尽快看到,共勉!!!
IWAV0048I Java Bean ManagerTest started with null constructor
经查证后才知道:
That's not an error. That is simply a message to tell you that the Java Bean Application Launcher used the null constructor of your class to start it. That means your class was not a standard AWT/Swing subclass so it couldn't figure out a nicer way of starting it (like it would if it was a JFrame or a JPanel). We give this info because often when starting with the null constructor nothing visual happens and people get confused and don't realize it actually ran because the console would be empty. When you actually write your application with its own main and use your class then this message won't show because the code that produces it won't be in your application. |
这是个极为低级的错误,但是找的时候也挺烦人的,希望有类似问题的同学可以尽快看到,共勉!!!
相关文章推荐
- 记录一下学习JAVA过程中所遇到的问题(持续更新)
- 网络访问过程中遇到的java.io.IOException: Target host must not be null的问题
- Eclipse与Mysql连接中遇到的一个问题,让我苦恼好久....(记录自己的菜鸟经历)
- 遇到的问题-----No JREs in workspace compatible with specified execution environment: JavaSE-1.7,java
- solr定时更新索引遇到的问题(SolrDataImportProperties Error loading DataImportScheduler properties java.lang.NullPointerException)
- 【记录】JavaWeb中自己遇到的小问题
- 开发中常遇到到的问题一:java.lang.NullPointerException
- 【Java--工作记录】工作遇到的问题记录--更新中
- 遇到的问题-----No JREs in workspace compatible with specified execution environment: JavaSE-1.7,java
- android中遇到java.lang.NumberFormatException: unable to parse 'null' as integer此类问题的原因及解决方法
- 在使用DataBinding中遇到的一个奇葩的 java.lang.NullPointerException问题
- AIDL中遇到的问题,记录一下 + 避免绑定启动service 后 activity 与service 之间参数为null的情况
- 菜鸟记录--在eclipse中,遍历文件夹时遇到路径问题
- 本人菜鸟,Java编程时遇到一问题!,请帮忙!
- 日常问题记录-- java.lang.IllegalArgumentException: taglib definition not consistent with specification version
- 网络访问过程中遇到的java.io.IOException: Target host must not be null的问题
- 学习java所遇到的问题与解决方案记录
- 工作中遇到关于流的问题以及java1.7中的 try-with-resources的
- 新学习JAVA,记录遇到的各种奇葩问题
- 记录我遇到过的Java面试技术问题