Tag Archives: error

Encountering the “Only one JAX-RS Application Class allowed.” in JBoss AS7 server.

If like me you have tried deploying RESTful Web services to JBoss AS7 using Jersey framework you could have encountered the  “Only one JAX-RS Application Class allowed.” error Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011232: Only one JAX-RS Application Class allowed. org.glassfish.jersey.server.ResourceConfig org.glassfish.jersey.server.ResourceConfig$WrappingResourceConfig org.glassfish.jersey.server.ResourceConfig$RuntimeConfig com.restaurant.jersey.JerseyApplication at org.jboss.as.jaxrs.deployment.JaxrsScanningProcessor.scan(JaxrsScanningProcessor.java:209) at org.jboss.as.jaxrs.deployment.JaxrsScanningProcessor.deploy(JaxrsScanningProcessor.java:105) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] … 5 more you will need […]


How to fix ‘Annotation processing got disabled, since it requires a 1.6’ error?

You have to update  a new ecj.jar by replace /liferay-plugins-sdk-6.2/lib/ecj.jar with a new ecj.jar Download ecj-4.3.1.jar ถ้าตอน build liferay project  แล้วเจอ error แบบนี้ให้ update ecj.jar เป็นเวอร์ชั่นใหม่ ที่ /liferay-plugins-sdk-6.2/lib/ecj.jar Download ecj-4.3.1.jar     [mkdir] Created dir: /Volumes/data/Developement/awesom/liferay-plugins-sdk-6.2/portlets/awesom-portlet/docroot/WEB-INF/classes      [copy] Copying 5 files to /Volumes/data/Developement/awesom/liferay-plugins-sdk-6.2/portlets/awesom-portlet/docroot/WEB-INF/lib      [copy] Copying 1 file to /Volumes/data/Developement/awesom/liferay-plugins-sdk-6.2/portlets/awesom-portlet/docroot/WEB-INF/classes      [copy] Copied 4 empty […]


JavaFX – Monte Carlo option pricing applet

One of the things I like about JavaFX is that it can be deployed on a lot of platforms, and very easy btw. So in this post I’m going to use the Option Pricing code from previous posts to create a JavaFX application that runs both on desktop and as an applet without any code […]


NodeJS how to check the version

NodeJS how to check the version
If you need to check the version of the nodejs intsalled, open the command line type the following. node –version Example mw@mw-pc:~$ node –version v0.12.2 Note : if you type with one – then you will get an error as one of the follows mw@mw-pc:~$ node -version Error: unrecognized flag -version Try –help for options […]