Wednesday 30 January 2008

[Error] Maven for compile

* when you have the error for compiling from maven such as "The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exi
st or no valid version could be found"

You might have some problem before. So you should make it clear to compile again

Please delete the folder ".m2/repository/org/apache/maven/plugins/maven-resources-plugin"

and try compile again.

[Error] Maven for build

* When you have the error message from Maven such as "org.apache.maven.plugins:maven-archetype-plugin' does not exist or no valid version could be found at org.apache.maven.plugin.version"
It is from disconnect the internet. It might be from proxy server setting.
So you should update %/Maven%\conf\settings.xml" file.

Please open settings.xml file and find element and update like below

[proxies]

[proxy]
[id]optional[/id]
[active]true[/active]
[protocol]http[/protocol]
[username]kiyoung7.hwang[/username]
[password]1111[/password]
[host]168.219.61.250[/host]
[port]8080[/port]
[nonProxyHosts]local.net,some.host.com[/nonProxyHosts]
[/proxy]
[/proxies]

Tuesday 29 January 2008

Eclipse proxy server setting

* If you have the problem to update plugin or software automatically from
"Help > Software Updates > Find and Install "

It might be from proxy server problem.
You should update prox server setting from
"Window > Preferences > General > Network Connection"
Select "Manual proxy configuration: "
and set HTTP proxy 168.219.61.250:8080" (example) and click ok

Thursday 10 January 2008

Link for Jboss

* setup
http://cafe.naver.com/jbossug.cafe
http://cafe.naver.com/doprogrammer.cafe?iframe_url=/ArticleRead.nhn%3Farticleid=1483

* with eclipse
- Tour around Europa : Eclipse for Java EE (Part I)
http://www.thescreencast.com/2007/07/tour-around-europe-eclipse-for-java-ee.html

- Tour around Europa : Eclipse for Java EE (Part II)
http://www.thescreencast.com/2007/07/tour-around-europe-eclipse-for-java-ee_04.html

- How To : JSF in Eclipse Europa (Part I)
http://www.thescreencast.com/2007/07/how-to-jsf-in-eclipse-europa-part-i.html

- How To : JSF in Eclipse Europa (Part II)
http://www.thescreencast.com/2007/07/how-to-jsf-in-eclipse-europa-part-ii.html

Wednesday 9 January 2008

error "Waiting For Virtual Machine To Exit" in eclipse

* error "Waiting For Virtual Machine To Exit" in eclipse

When you have "Waiting For Virtual Machine To Exit" message and did not change any
progress , you might install "Axis2 Code Generator" in Eclipse.

In order to solve this problem, you should change ANT home setting in eclipse.
Because when you install "Axis2 Code Generator" in eclipse , it change the
ANT HOME setting.

So please go to "Window > Preference > Ant > Runtime". There will be "Ant Home Entires" part. You can confirm the jar files are from Axis2 plugin directory. This
is causing the problem so please click "Ant Home" button on the right side and
setting up ant home such as "D:\java\ant\apache-ant-1.7.0" directory and click OK

Sunday 6 January 2008

Thursday 3 January 2008

replaceAll with special words

* replaceAll with special words

======================
public class MyTest {

public static void main(String args[]) {

String st = "\\";

st = st.replaceAll("\\\\","\\\\\\\\");

System.out.println(st);
}
}
======================================

Tuesday 1 January 2008