이전에 정상적으로 빌드되던 프로젝트가 ADT 17 버전으로 업데이트 후 아래 현상이 발생될 때 해결 방법
LogCat 오류 메시지
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo
Caused by: java.lang.ClassNotFoundException:
check box 모두 선택하고
Project clean 한 다음 다시 빌드 RUN
이전에 정상적으로 빌드되던 프로젝트가 ADT 17 버전으로 업데이트 후 아래 현상이 발생될 때 해결 방법
LogCat 오류 메시지
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo
Caused by: java.lang.ClassNotFoundException:
check box 모두 선택하고
Project clean 한 다음 다시 빌드 RUN
Opening more than one instance of IBM Rational Rhapsody displays a warning message "Rhapsody cannot create socket".
Can not animate in the second instance of Rhapsody being opened.
The AnimationPortRange has been assigned a value 0 which lets to animate only one instance of Rhapsody at a given point of time.
This issue can be overcome by making a small change in the rhapsody.ini file which is found in the Rhapsody installation folder.
Under the [General] section of the rhapsody.ini file as found in the Rhapsody installation folder, edit the value of AnimationPortRange from 0 to a greater number such as 5 corresponding to the expected number of instances.
[General]
......
.......
AnimationPortRange=5
..........
@ECHO OFF
SET ROOT_PATH=D:\test_java
SET BIN_HOME=%ROOT_PATH%/classes
SET LIB_HOME=%ROOT_PATH%/lib
SET
CLASSPATH=%BIN_HOME%;%LIB_HOME%/commons-beanutils.jar;%LIB_HOME%/commons-collections-3.2.jar;%LIB_HOME%/commons-configuration-1.5.jar;%LIB_HOME%/commons-digester-1.8.jar;%LIB_HOME%/commons-io-1.4.jar;%LIB_HOME%/commons-lang-2.3.jar;%LIB_HOME%/commons-logging-1.1.jar;%LIB_HOME%/log4j-1.2.14.jar;%LIB_HOME%/lucene-analyzers-2.4.0.jar;%LIB_HOME%/lucene-core-2.4.0.jar;%LIB_HOME%/ibatis-2.3.0.677.jar;%LIB_HOME%/jakarta-oro-2.0.8.jar;%LIB_HOME%/ojdbc14_10.2.0.2.jar;
d:
cd %ROOT_PATH%\bin
ECHO java kr.co.setong.test.Test %1Windows Mobile 5.0 Naming | Windows Mobile 6 Naming |
---|---|
Windows Mobile 5.0 for Smartphone |
Windows Mobile 6 Standard |
Windows Mobile 5.0 for Pocket PC Phone Edition |
Windows Mobile 6 Professional |
Windows Mobile 5.0 for Pocket PC |
Windows Mobile 6 Classic |