入门程序:漏泄+敲键盘错养的习惯,没啥其他问题
1.下载依赖太慢,等了一中午都不行
不懂,但是用了之后50s完成
(118条消息) 解决maven 在IDEA 下载依赖包速度慢的问题_idea下载依赖很慢_Specif1c的博客-CSDN博客
2.URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)
Cannot resolve symbol 'http://www.springframework.org/schema/beans/spring-beans.xsd'
Cannot resolve symbol"framework"
按着这个做了做发现不对劲只是忘记刷新了......我这种人怎么还活着?!
(118条消息) idea 出现Cannot resolve symbol ‘springframework‘解决方法_wjtc的博客-CSDN博客
3.我老把frame打成framen,下意识会多打一个n,留神不打这个n居然有一种小手无处可去的感觉......匪夷所思
4.<constructor-arg>没写完
No matching constructor found in class 'User1'User1(...):Bean:int id ??? String name ??? String password ???
5.吧 . 打成 / 了
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
Exception in thread "main" org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 5 in XML document from class path resource [applicationContext-User.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 5; columnNumber: 70; cvc-elt.1.a: 找不到元素 'beans' 的声明。
6.new吃了
Method call expected
7.main函数吃了
cannot resolve symbol "println
8.applicationContext-User2.xml的.xml吃了
n in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [applicationContext-User2]; nested exception is java.io.FileNotFoundException: class path resource [applicationContext-User2] cannot be opened because it does not exist
9.忘了是什么,反正是什么没写全
Class 'UserServiceImpl' must either be declared abstract or implement abstract method 'login(String, String)' in 'UserService'