Error Message :
An error occurred while collecting items to be installed
No repository found containing:
org.apache.oro/osgi.bundle/2.0.8.v200903061218
Install plug-in file
checkStyle
Solution
Help > Software Updates > "Manage Sites..." > Un check all except "checkStyle" url
And Install again
Showing posts with label IDE. Show all posts
Showing posts with label IDE. Show all posts
Thursday, 1 July 2010
Wednesday, 24 February 2010
[Eclipse] -Heap Size and garbage collection (GC)
Window > Preferences > General > check "Show heap status"
You can see current heap size and memory usage
"click bin icon for garbage collection"
You can see current heap size and memory usage
"click bin icon for garbage collection"
Tuesday, 9 February 2010
[Error] Tomcat start Error with Eclipse
=== Error message =====
Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.
=== Solution =====
Double click from "servers" console in eclipse
and change start time from "Timeouts"
Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.
=== Solution =====
Double click from "servers" console in eclipse
and change start time from "Timeouts"
Sunday, 31 January 2010
[Eclipse] Run Configuration - Arguments
- Program arguments
-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -console -clean
- VM arguments
-Declipse.ignoreApp=true -Dosgi.noShutdown=true -Dosgi.clean=true -Dorg.osgi.service.http.port=7777
-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -console -clean
- VM arguments
-Declipse.ignoreApp=true -Dosgi.noShutdown=true -Dosgi.clean=true -Dorg.osgi.service.http.port=7777
Tuesday, 20 October 2009
[osgi] TargetPlatform
1. Create "TargetPlatform" project
2. Create some bundle folder which has all bundle jar files.
3. Create "TargetPlatformDefinition" folder
4. Create "test-prop.target" file
5. use below part
===============================
[?xml version="1.0" encoding="UTF-8"?]
[?pde version="3.2"?]
[target name="test-proto"]
[location path="${test-Prototype}"/]
[content useAllPlugins="true"]
[plugins]
[/plugins]
[features]
[/features]
[extraLocations]
[location path="${test-Prototype}\OSGi"/]
[location path="${test-Prototype}\target"/]
[/extraLocations]
[/content]
[/target]
========================
6. change setup Eclipse part
1) Window -> preference -> Run/Debug -> String/Substitution -> Click "New" button
2) Variable : test-Prototype || Value : TargetPlatform folder
2. Create some bundle folder which has all bundle jar files.
3. Create "TargetPlatformDefinition" folder
4. Create "test-prop.target" file
5. use below part
===============================
[?xml version="1.0" encoding="UTF-8"?]
[?pde version="3.2"?]
[target name="test-proto"]
[location path="${test-Prototype}"/]
[content useAllPlugins="true"]
[plugins]
[/plugins]
[features]
[/features]
[extraLocations]
[location path="${test-Prototype}\OSGi"/]
[location path="${test-Prototype}\target"/]
[/extraLocations]
[/content]
[/target]
========================
6. change setup Eclipse part
1) Window -> preference -> Run/Debug -> String/Substitution -> Click "New" button
2) Variable : test-Prototype || Value : TargetPlatform folder
Tuesday, 17 March 2009
[Eclipse] Auto line change
== 3.3 version ==
이클립스에서
1. help
2. software updates
3. find and Install
4. Search for new features to install
5. New Remote site
Name: Virtual Word Wrap
URL: http://ahtik.com/eclipse-update/
=== 3.4 version ===
http://ahtik.com/eclipse-update/
이클립스에서
1. help
2. software updates
3. find and Install
4. Search for new features to install
5. New Remote site
Name: Virtual Word Wrap
URL: http://ahtik.com/eclipse-update/
=== 3.4 version ===
http://ahtik.com/eclipse-update/
Wednesday, 4 February 2009
[Error] Eclipse Ganymede start error
When you have the problem for starting eclipse , please check eclipse.ini file
==== Error message
-VM terminated...
==== original eclipse.ini
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-framework
plugins\org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
==== update this eclipse.ini file
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-framework
plugins\org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
-vm
C:\Sun\SDK\jdk\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
==== Error message
-VM terminated...
==== original eclipse.ini
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-framework
plugins\org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
==== update this eclipse.ini file
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-framework
plugins\org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
-vm
C:\Sun\SDK\jdk\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
[Error] Eclipse Ganymede start error
when you start eclipse , you might have the error with popup message box.
such as "VM terminate...."
Please check eclipse.ini file and update it
original eclipse.ini
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-vm
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
==== Please update this eclipse.ini file =====
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-vm
D:\java\jdk1.6.0\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
such as "VM terminate...."
Please check eclipse.ini file and update it
original eclipse.ini
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-vm
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
==== Please update this eclipse.ini file =====
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-vm
D:\java\jdk1.6.0\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
Monday, 5 January 2009
[Error] Can not Start Eclipse
* Error Message
JVM terminated. Exit code=-1 .......
................
.......
- Open eclipse.ini file under eclipse installed folder
change the last line like this
-Xmx256m
http://blog.naver.com/sungback?Redirect=Log&logNo=90033293141
JVM terminated. Exit code=-1 .......
................
.......
- Open eclipse.ini file under eclipse installed folder
change the last line like this
-Xmx256m
http://blog.naver.com/sungback?Redirect=Log&logNo=90033293141
Thursday, 1 January 2009
[Eclipse] (Plugin)- Java Code Coverage for Eclipse
* This plugin for Code Coverage - especially for Junit
1. Install
http://www.eclemma.org/installation.html
2. Launching (or setting) in Coverage Mode
http://www.eclemma.org/userdoc/launching.html
3. Create "Test" run configuration
4. You should select what kind of project can be generate code coverage report
from "Coverage" tab. (Coverage Run > Converage configurations)
5. When "running" is over , Do not terminate manually !
Type : osgi> exit
Then you will see Coverage report
* error message "No coverage data file has been written"
check "http://www.eclemma.org/faq.html#usage03"
Check all step from this web site
* After running code coverage you should re-compile
the project which is checked for Code Coverage
1. Install
http://www.eclemma.org/installation.html
2. Launching (or setting) in Coverage Mode
http://www.eclemma.org/userdoc/launching.html
3. Create "Test" run configuration
4. You should select what kind of project can be generate code coverage report
from "Coverage" tab. (Coverage Run > Converage configurations)
5. When "running" is over , Do not terminate manually !
Type : osgi> exit
Then you will see Coverage report
* error message "No coverage data file has been written"
check "http://www.eclemma.org/faq.html#usage03"
Check all step from this web site
* After running code coverage you should re-compile
the project which is checked for Code Coverage
[Eclipse] - Run (Arguments- Clean)
Eclipse Run configuration option
- Arguments Tab -
* Program arguments
-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -console --clean
* VM arguements
-Declipse.ignoreApp=true -Dosgi.noShutdown=true -Dosgi.clean=true
- Arguments Tab -
* Program arguments
-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -console --clean
* VM arguements
-Declipse.ignoreApp=true -Dosgi.noShutdown=true -Dosgi.clean=true
Eclipse [Plug-In] - CheckStyle Eclipse Plugin
* CheckStyle Eclipse Plugin
- CheckStyle Eclipse Plugin help you ensure that your Java code adheres to a set of coding standards.
- Installation document
- Checkstyle file
- format file
- CheckStyle Eclipse Plugin help you ensure that your Java code adheres to a set of coding standards.
- Installation document
- Checkstyle file
- format file
Tuesday, 5 August 2008
org.hibernate.HibernateException: No Hibernate Session bound to thread
error message : org.hibernate.HibernateException: No Hibernate Session bound to thread
You did not insert "annotation" in the source.
such as
"@Transactional"
"@SuppressWarnings("unchecked")"
"@Transactional(readOnly = true)"
You did not insert "annotation" in the source.
such as
"@Transactional"
"@SuppressWarnings("unchecked")"
"@Transactional(readOnly = true)"
Wednesday, 30 July 2008
Eclipse- Show suggestion word , line number
Eclipse setup
*==== show line number ====*
Window > Preferences > General > Editors > Text Editors > "Show line numbers"
*==== show suggestion word =====*
Window > Preferences > Java > Editor > Context Assist > Advanced >
check all check box "Select the proposal kinds contained in the 'default' content assist list
*==== show line number ====*
Window > Preferences > General > Editors > Text Editors > "Show line numbers"
*==== show suggestion word =====*
Window > Preferences > Java > Editor > Context Assist > Advanced >
check all check box "Select the proposal kinds contained in the 'default' content assist list
Tuesday, 29 July 2008
Wednesday, 16 July 2008
Install SpringIDE or Maven in Eclipse 3.4 ( GANYMEDE )
1. Help
2. Software update
3. Add Site
4. Enter http://springide.org/updatesite
4-1. For Maven - http://m2eclipse.sonatype.org/update/
5. Click checkbox next to http://springide.org/updatesite to expand.
5-1 For Mave - http://m2eclipse.sonatype.org/update/ to expand
6. Check all sub option under SpringIDE (Maven)
7. Install
8. You will have below error message
======================================================
The software items you selected may not be valid with your current installation....
===================================================
9. Click Yes
10. Uncheck
"Spring IDE Dependencies (only for Eclipse 3.2.x)"
"Spring IDE Mylyn Integration (optional)"
10-1 "Subclipse Integration for Maven (Optional)"
11. Click Next
2. Software update
3. Add Site
4. Enter http://springide.org/updatesite
4-1. For Maven - http://m2eclipse.sonatype.org/update/
5. Click checkbox next to http://springide.org/updatesite to expand.
5-1 For Mave - http://m2eclipse.sonatype.org/update/ to expand
6. Check all sub option under SpringIDE (Maven)
7. Install
8. You will have below error message
======================================================
The software items you selected may not be valid with your current installation....
===================================================
9. Click Yes
10. Uncheck
"Spring IDE Dependencies (only for Eclipse 3.2.x)"
"Spring IDE Mylyn Integration (optional)"
10-1 "Subclipse Integration for Maven (Optional)"
11. Click Next
Tuesday, 1 July 2008
Aptana plugin
Plugging Aptana into an existing Eclipse configuration
http://update.aptana.com/install/studio/3.2/
Detail information
http://www.aptana.com/docs/index.php/Plugging_Aptana_into_an_existing_Eclipse_configuration
http://update.aptana.com/install/studio/3.2/
Detail information
http://www.aptana.com/docs/index.php/Plugging_Aptana_into_an_existing_Eclipse_configuration
Thursday, 26 June 2008
Spring , Hibernate Sample
This is Spring 2.0 + Hibernate3 sample source.
It is working with mysql + Eclipse
Simple BBS sample source.
add > view list > delete , update
sql file is in sql folder to create table
download sample source
It is working with mysql + Eclipse
Simple BBS sample source.
add > view list > delete , update
sql file is in sql folder to create table
download sample source
Monday, 23 June 2008
Eclipse - Save UTF-8 character
Error message from Eclipse when you try to save the file
========================================================================
save could not be completed.
Reason:
some characters cannot be mapped using "ISO-8859-1" character encoding.
Either change the encoding or remove the characters which are not supported
by the "ISO-8859-1" character encoding.
==========================================================================
Please go to "Windows > Preferences > General > Content Types > Text > JSP or ...
JSP > Default encoding > UTF-8 and click update button
========================================================================
save could not be completed.
Reason:
some characters cannot be mapped using "ISO-8859-1" character encoding.
Either change the encoding or remove the characters which are not supported
by the "ISO-8859-1" character encoding.
==========================================================================
Please go to "Windows > Preferences > General > Content Types > Text > JSP or ...
JSP > Default encoding > UTF-8 and click update button
Wednesday, 4 June 2008
Error to generate Web Service from eclipse , Axis2
When you have some problem for generating Web Service from Eclipse with Axis2,
you should check set up of eclipse for Axis2.
From Eclipse
Window > Preference > Web Services > Axix2 Preferences > Axis2 Runtime
setup "Axis2 Runtime Location" from "Browse" button : setup Axis2 folder
then you will see the message on the bottom "Axis2 runtime loaded successfully!!!"
Click ok and process generating Web service again.
you should check set up of eclipse for Axis2.
From Eclipse
Window > Preference > Web Services > Axix2 Preferences > Axis2 Runtime
setup "Axis2 Runtime Location" from "Browse" button : setup Axis2 folder
then you will see the message on the bottom "Axis2 runtime loaded successfully!!!"
Click ok and process generating Web service again.
Subscribe to:
Posts (Atom)