Welcome to WordPress. This is your first post. Edit or delete it, then start writing! Welcome to WordPress. This is your first post. Edit or delete it, then start writing!Welcome
In this Tutorial we are going to swap two variables. Here swapping means, inter changing the values of two variables . For Example . int a =10 , int b
In this Tutorial we are going to swap two variables without using temporary variable . Here swapping means, inter changing the value of two variables public class SwapWithoutTemp{ public static
In this tutorial we are going to print the reverse number of a given number. For better understanding see the below example. import java.util.Scanner; public class Reverse { public static
The product of all natural numbers up to given natural number is called factorial . In maths, factorial is represented with the symbol ! . See the below examples. 4! =
In this article we are going to print factorial of a number using recursive function. Recursive function is function called by itself during its execution . See the below example.
A palindrome number is a number that remains the same when its digits are reversed. For example : 12321 is a palindrome number . Now we are going to write
A fibonacci series is a series of numbers that the next number is found by adding the two immediate preceded numbers of it. For example : 0, 1, 1, 2,
A natural number that is greater than 1 , divided by 1 and itself is called prime number. In this tutorial, we are going to write a program to identify
A natural number that is greater than 1 , divided by 1 and itself is called prime number. In this tutorial, we are going to write a program to print
A natural number that is greater than 1 , divided by 1 and itself is called prime number. In this tutorial, we are going to write a program to print
In this Tutorial we are going to write a program that prints right triangle . see the below example. import java.util.Scanner; public class RightPyramid { public static void main(String[] args)
In this Tutorial we are going to write a program that prints left triangle . see the below example. import java.util.Scanner; class LeftPyramid { public static void main(String[] args) {
In this Tutorial we are going to write a program that prints Right down triangle . see the below example. import java.util.Scanner; public class RightDownPyramid { public static void main(String[]
In this Tutorial we are going to write a program that prints Left down triangle . see the below example. import java.util.Scanner; public class LeftDownPyramid { public static void main(String[]
In this Tutorial we are going to write a program that prints Complete pyramid . see the below example. import java.util.Scanner; public class CompletePyramid { public static void main(String[] args)
import java.util.Scanner; class CompletePyramid2 { public static void main(String[] args) { System.out.print(“Please Enter Pyramid size: “); Scanner read = new Scanner(System.in); int size = read.nextInt(); for (int i = 1;
In this Tutorial we are going to write a program that prints Complete down pyramid . see the below example. import java.util.Scanner; public class CompleteDownPyramid { public static void main(String[]
import java.util.Scanner; class CompleteDownPyramid2 { public static void main(String[] args) { System.out.print(“Please Enter Pyramid size: “); Scanner read = new Scanner(System.in); int size = read.nextInt(); for (int i = size;
$("#bankIdAutoSuggest").autocomplete({ source : function(request, response) { $.ajax({ url : $(‘#contextPath’).val() + "/autoSuggestBank?bankName=" + $("#bankIdAutoSuggest").val(), dataType : "json", data : { q : request.term }, success : function(data) { console.log(data); if
Spring boot package com.rs.aegon.combisite.config; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.web.support.SpringBootServletInitializer; import org.springframework.context.annotation.ComponentScan; @SpringBootApplication @ComponentScan(basePackages="com.rs.aegon") public class CombiservicesApplication /*extends SpringBootServletInitializer*/ { public static void main(String[] args) { SpringApplication.run(CombiservicesApplication.class, args);
one of the below may resolve your problem 1) clean build your project . 2) Make sure your servlet class is public . Means , add public to your servelt
jboss.deployment.unit.”*.war”.POST_MODULE: Failed to process phase POST_MODULE of deployment “*.war”at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119)[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)[jboss-msc-1.0.2.GA.jar:1.0.2.GA]at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011232: Only one JAX-RS Application Class allowed.com.sun.jersey.api.core.servlet.WebAppResourceConfig com.sun.jersey.server.impl.application.DeferredResourceConfigcom.sun.jersey.api.core.ResourceConfig com.sun.jersey.api.core.ScanningResourceConfig
“The processing instuction target matching [xX][mM][IL] is not allowed” is error in xml file . To resolve this remove space at the starting of file Remove space at begining of
com.rsa.vam.SmsSurveyAccept.getMsg(java.lang.String,java.lang.String,java.lang.String), should not consume any form parameter.12:12:10,648 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/UpdateTaskbySMSWar]] (http–0.0.0.0-8080-21)StandardWrapper.Throwable: com.sun.jersey.spi.inject.Errors$ErrorMessagesExceptionat com.sun.jersey.spi.inject.Errors.processErrorMessages(Errors.java:170) [jersey-bundle-1.19.1 (1).jar:1.19.1]at com.sun.jersey.spi.inject.Errors.postProcess(Errors.java:136) [jersey-bundle-1.19.1 (1).jar:1.19.1]at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:199) [jersey-bundle-1.19.1 (1).jar:1.19.1]at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:795) [jersey-bundle-1.19.1 (1).jar:1.19.1]at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:790) [jersey-bundle-1.19.1 (1).jar:1.19.1]at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:509) [jersey-bundle-1.19.1 (1).jar:1.19.1]at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:339)