当前位置: 技术问答>java相关
我对rose中的类图进行语法检查时,发现名字错误,请教:
来源: 互联网 发布时间:2015-03-26
本文导语: 17:19:50| Class Logical View::testpack::testclass - Starting syntax checking 17:19:50| WARNING: Class Logical View::testpack::testclass - name is not a valid Java identifier. 17:19:50| WARNING: Class Logical View::testpack::testclass - the name of att...
17:19:50| Class Logical View::testpack::testclass - Starting syntax checking
17:19:50| WARNING: Class Logical View::testpack::testclass - name is not a valid Java identifier.
17:19:50| WARNING: Class Logical View::testpack::testclass - the name of attribute name is not a valid Java identifier.
17:19:50| WARNING: Class Logical View::testpack::testclass - the name of operation setName is not a valid Java identifier.
我直接建立项目的,但不是建立在j2ee的基础上,语言选择的是java
类名是
TestClass
属性是
name:String=null
方法是
setName(name:String):void
请问为什么?
17:19:50| WARNING: Class Logical View::testpack::testclass - name is not a valid Java identifier.
17:19:50| WARNING: Class Logical View::testpack::testclass - the name of attribute name is not a valid Java identifier.
17:19:50| WARNING: Class Logical View::testpack::testclass - the name of operation setName is not a valid Java identifier.
我直接建立项目的,但不是建立在j2ee的基础上,语言选择的是java
类名是
TestClass
属性是
name:String=null
方法是
setName(name:String):void
请问为什么?
|
挺怪的。你用的是什么?enterprise edition 还是 for J?
我用for J是没问题的。
我用for J是没问题的。
|
我照你说的做能检查通过呀。