老師說這個項目很規範熟悉架構流程,剛做起來非常的吃力,但是我相信很快就會好起來的。東西差不多都學完了,可是經常看到別人的問題自己都不會,這種感覺不是很好,努力的改善它們。 今天在PreparedStatement st = ConnectionFactory.getConnection().prepareStatement("select * from users where username='"+username+"' and password='"+lform.getPassword()+
前段時間就發現Gallery這個控制項被無情的打上了到期這個烙印。當時很好奇,Google為什麼就讓它到期了,不過那個時候項目忙就沒有仔細去看了,反正到期了還能用,只是不維護了嘛。今天剛好有點時間就翻了翻android SDK文檔:This class was deprecated in API level 16.This widget is no longer supported. Other horizontally scrolling widgets include
異常 之 java.lang.IllegalArgumentException:Document base *** does not exist or is not a readable這是由於在webapps裡面將項目刪除,卻沒有在其它相應的工作目錄刪除確定3點:1.該項目的War檔案從***\apache-tomcat-6.0.16\webapps 移出;2.該項目的某些配置從 ***apache-tomcat-6.0.16\work\Catalina\localhost
The method get(Class, Serializable) in the type Session is nI am using JBoss IDE 1.5 and I am trying to generate from Hibernate.After generating I get the following error in Home files public Dag findById( int id) { log.debug("getting Dag instance
||=== RTest, Debug ===|D:\workspace\IOS\RTest\main.m|3|error: 'Rectangle' redeclared as different kind of symbol|d:\app\ios\gnustep\bin\..\lib\gcc\mingw32\4.6.1\..\..\..\..\include\wingdi.h|2956|error: previous declaration of
嚴重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 37 in XML document from URL
今天把workspace裡面的項目路徑改了下,就出現了這個錯誤了。這個錯誤一般是由對函數庫的改動或是路徑的重設引起的,顯示為/myProject/gen already exists but is not a source folder. Convert to a source folder or rename it.解決這個錯誤的方法如下:1.右鍵點擊Package Exploreer下的myProject,選擇Properties.2.選擇Java Build Path,再選擇Source.
- No enclosing instance of type Test is accessible. Must qualify the allocation with an enclosing instance of type Test (e.g. x.new A() where x is an instance of Test).public class Test {public static void main(String[] args) {Test test = new Test();