ãã©ãã«/Java
â ã¨ã©ã¼ãMissingMethodInvocationExceptionãã表示ããã * ãã¹ããå®è¡ããéã«ã以ä¸ã®ãã¨ã©ã¼å 容ãã表示ããã ã¨ã©ã¼å 容 org.mockito.exceptions.misusing.MissingMethodInvocationException: when() requires an argument which has to be 'a mâ¦
â ç¾è±¡ 以ä¸ã®ãç°å¢ãä¸ã«ããã¦ã https://blogs.yahoo.co.jp/dk521123/37327908.html ã®åæ§ã«ãè¨å®ãããã©ã¦ã¶ã§ ï½ï½ï½ï½ https://ããã¹ãåã/manager/html/list ï½ï½ï½ï½ ã«ã¢ã¯ã»ã¹ããããã403 Access Deniedãã表示ãããã ã調æ»ï¼ã ãã¼â¦
â ç¾è±¡è©³ç´° https://blogs.yahoo.co.jp/dk521123/37181766.html ã®ãµã³ãã«ãLinuxä¸ã§å®è¡ããã¨ããã System.exit() ã«è¨å®ããå¤ã process.waitFor() ã§åãåã£ãæã«å¤ãç°ãªã£ã¦ããã ãªããWindowsä¸ï¼Windows7/10 Java1.8.0ï¼ã§ç¢ºèªããã¨ããåâ¦
ããããã·ããããã·èªè¨¼ãå®è£ ããã¦ããªãå ´å ã¨ã©ã¼å 容 javax.xml.ws.WebServiceException: ... ç¥ ... Caused by: java.io.IOException: Server returned HTTP response code: 407 for URL: http://... ... ç¥ ... 解決ç * ãããã·èªè¨¼ãå®è£ ãããâ¦
ã¨ã©ã¼å 容 * 以ä¸ã®ä¾ã®ããã«å®è£ ããã¨ãããFindbugsã«ããã¦ã 以ä¸ã®ãã¨ã©ã¼ã¡ãã»ã¼ã¸ãã表示ããã ä¾ System.setProperty("SOME_KEY", null); ã¨ã©ã¼ã¡ãã»ã¼ã¸ éä»®æ³ã¡ã½ãã System.setProperty(String, String)ã®é null ãã©ã¡ã¼ã¿ã« null â¦
â ç¾è±¡ https://blogs.yahoo.co.jp/dk521123/36966230.html ã§ããã¼ã¹ãã¢ã¤ã³ãã¼ãããå¾ã«ã以ä¸ã®ä¾å¤ãçºçãã ä¾å¤ No subject alternative names present = ãµãã¸ã§ã¯ãã®å¥åããªã com.sun.xml.internal.ws.com.client.ClientTransportExceptionâ¦
ã¯ãã㫠以ä¸ã®é¢é£è¨äºã対å¿ä¸ã«ä»¥ä¸ã®ã³ã¼ã ï½ï½ï½ï½ï½ URL url = new URL("C:/work/workspace/SampleCode/conf/SampleWebService.wsdl"); ï½ï½ï½ï½ï½ ãå®è¡ããã¨ãããä¾å¤ãjava.net.MalformedURLException: unknown protocol: cãã çºçããã Weâ¦
â ãã©ãã«å 容 * Commons ã® RandomStringUtils ãã©ããããèªä½ã®å ±éå¦çã ã¾ã¨ããJavaããã¸ã§ã¯ããCustomCommonããJARãã¡ã¤ã«åãã ãã®JARãã¡ã¤ã«ããJavaããã¸ã§ã¯ããSampleProjectãã§ä½¿ç¨ããã¨ããã 以ä¸ã®ãä¾å¤å 容ãã®ä¾å¤ãClassNoâ¦
â ç¾è±¡å 容 http://blogs.yahoo.co.jp/dk521123/34330480.html http://blogs.yahoo.co.jp/dk521123/33640872.html http://blogs.yahoo.co.jp/dk521123/36419973.html http://blogs.yahoo.co.jp/dk521123/32780473.html ã§ãJavaã®æå·å/è¤ååå¦çãå®è£ ãâ¦
â çºçç¾è±¡ 以ä¸ã®ãæ§æãã§ãWebãµã¼ãã¹ãç«ã¡ä¸ããã¨ãããWebãµã¼ãã¹ã§ã»ãã·ã§ã³ãåå¾ã§ããªããªã£ãã Tomcatã®ãã°ã確èªããã¨ããã以ä¸ãã¡ãã»ã¼ã¸å 容ãã®ããã«ãªã£ã¦ããã ã¾ãããéä¿¡ãã°ãã確èªããã¨ãããã«ã³ãåºåãã§ã¯ããã¼ãâ¦
åé¡ * Webãµã¼ãã¹ã«ãã¯ã©ã¤ã¢ã³ãå´ãã以ä¸ã®ãä¾å¤å 容ããçºçãã ä¾å¤å 容 xxxxx : ã¡ã½ããå javax.xml.ws.WebServiceException: Method xxxxx is exposed as WebMethod, but there is no corresponding wsdl operation with name xxxxx in the wsâ¦
â ã¯ããã« * 以ä¸ãç°å¢ãä¸ã§ããæ§æãã®ããã«ããã¼ããã©ã³ãµ(ELB)ãå ¥å£ã«ãªã£ã¦ SSLéä¿¡ã®ã¿ã§ãhttp(80)ã¯åãå ¥ããªãç¶æ ã§ãJAX-WS(Metro) ã§ä½æããWebãµã¼ãã¹ã« ã¢ã¯ã»ã¹ããã¨ãããã¨ã©ã¼ã503 Service Temporarily Unavailableããè¿ã£ã¦â¦
â ç¾è±¡å 容 以ä¸ãçºçç°å¢ãã§ãJavaã§ä½æããã¢ããªããWebãµã¼ãã¹ã«SSLéä¿¡ã§ã¢ã¯ã»ã¹ããã¨ããã ä¾å¤ãBroken pipeããçºçãã¦ãã¾ã£ãã â çºçç°å¢ * Webãµã¼ãã¹(Java) - ã¯ã©ã¤ã¢ã³ã(Java) ãµã¼ãå´ * OS : CentOS7 * Web Server : Apache/2.4â¦
â ãµã¼ãå´ã§ãIllegalStateExceptionããçºçãã ã¨ã©ã¼å 容 é大: java.lang.IllegalStateException at org.apache.tomcat.util.net.AbstractEndpoint.getSSLHostConfig(AbstractEndpoint.java:266) at org.apache.tomcat.util.net.AbstractJsseEndpoint.câ¦
ç¾è±¡èª¬æ * Eclipseã§Tomatãµã¼ãã追å ããããåé¤ããããã¦ã㨠ãã¤ã®éã«ããæ°ããTomcatã追å ãããã¨ãããNextãã¿ã³ãéæ´»æ§ã§è¨å®ã§ããªããªã£ã çºçç°å¢ * Windows10 * Tomcat8.5.8 * Eclipse Neon.1a Release (4.6.1) 解決æ¹æ³ ãã®æ¹æ³ã¯ãâ¦
ç¾è±¡ * 以ä¸ã®ãçºçç°å¢ãã§ãeclipse-jee-neon-1a-win32-x86_64.zipãããã¦ã³ãã¼ãã㦠解åã»è¨ç½®ãã¦èµ·åããããã¨ã©ã¼ãJava was started but returned exit code=13ãã表示ããã¦ãã¾ã£ã * 以ä¸ã®é¢é£è¨äºã«ãã対çããã¦ããç¾è±¡ã¯å¤ããã httâ¦
åé¡æ¦è¦ * 以ä¸ã®ç°å¢ä¸ã§ãCHAR(1)ãã¼ã¿é ç®ãæåï¼ä¾ãã° 'f'ï¼ã§æ´æ°å¦çãè¡ã£ãã¨ããã SQLException: Incorrect string value: 'xxx' for column 'yyy'ã çºçãã ç°å¢ * OS : Windows7/10 * Java : Java1.8 * DB : MySQL * dbutils-1.6 ã¨ã©ã¼å â¦
åé¡ç¹ * ç¾å¨ææ°ã®Eclipseã®Version(Version: Neon Release (4.6.0))ã§ã Tomcat8.0ç³»ã¨Tomcat9.0ç³»ã¯å¯¾å¿ãã¦ããããã ããTomcat8.5系㯠以ä¸ã®ã¨ã©ã¼ã§è¨å®ã§ããªã ã¨ã©ã¼å 容 The Apache Tomcat installation at this directory is version 8.5.3. Aâ¦
â Velocity ã使ã£ãã¢ã¸ã¥ã¼ã«ãLinuxç°å¢ä¸ã«ãªãã¨ã¨ã©ã¼ã«ãªã£ã¦ãã¾ã * Velocity ã使ã£ãã¢ã¸ã¥ã¼ã«ã«ããã¦ãWindowsç°å¢ä¸ã§ã¯åé¡ãªãã£ããã Linuxç°å¢ä¸ã«ãªãã¨ä»¥ä¸ã®ã¨ã©ã¼ã«ãªã£ã¦ãã¾ã ã¨ã©ã¼å 容 org.apache.velocity.exception.Velocityâ¦
ã¯ããã« * Ebean ãPlay Frameworkä¸ã§ã¯ãªããåä½ã§ä½¿ç¨ããéã®ãã©ãã«ã·ã¥ã¼ãã£ã³ã°ãè¼ãã¦ãã â å®è¡æã¨ã©ã¼ãPersistenceException:xxxxx is NOT an Entity Bean registered with this server?ãã表示ããã ã¨ã©ã¼å 容 Exception in thread "mâ¦
ã¯ããã« * Play Framework ã®ç°å¢æ§ç¯æã®ãã©ãã«ã·ã¥ã¼ãã£ã³ã°ãã¾ã¨ãã * ä»åã®ãã©ãã«ãè¸ã¾ããæé ã¯ä»¥ä¸ã®é¢é£è¨äºã«åæ ãã¦ãã http://blogs.yahoo.co.jp/dk521123/36058991.html http://blogs.yahoo.co.jp/dk521123/36077949.html â ã [erroâ¦
ã¯ããã« http://blogs.yahoo.co.jp/dk521123/36056462.html ã§è¡ã£ããAxis2 㨠Eclipse ã使ã£ã¦ã æ°è¦ã«Webãµã¼ãã¹ãæ§ç¯ãããéã«ãã©ãã«ããã£ãã®ã§ 解決çãè¨é²ãã¦ãã [1] ã¨ã©ã¼ãNoClassDefFoundError: org/apache/ws/commons/schema/resolvâ¦
ã¯ããã« http://blogs.yahoo.co.jp/dk521123/36053260.html ã§èªåçæãè¡ãéã«javaã³ãã³ããè¡ã£ãã 以ä¸ã®ãã¨ã©ã¼å 容ãã表示ããã¦ãã¾ã£ã ã¨ã©ã¼å 容 Error opening registry key 'Software\JavaSoft\Java Runtime Environment' Error: could noâ¦
â ãIOException CreateProcess error=206ãã表示ããã * Ant 㧠Javadoc ãè¡ã£ãéã«ã以ä¸ã®ã¨ã©ã¼å 容ã表示ããã ã¨ã©ã¼å 容 java.io.IOException: Cannot run program "C:\Program Files\Java\jdk7\bin\javadoc.exe" CreateProcess error=206, t@c â¦
â BUILD FAILEDã Unable to create a Checker: ... classpath {null}ãã表示ããã * Antãã«ãã§ãCheckstyleãèµ·åããæã«ä»¥ä¸ã®ã¨ã©ã¼ã表示ããã ã¨ã©ã¼å 容 Buildfile: C:\eclipse\workspace\SampleJava\build.xml run.checkstyle: BUILD FAILED C:â¦
â è¦åãPerhaps you need to compile with debug=true?ãã表示ããã * Coberturaãantã§å®è¡ããéã«ä»¥ä¸ã®ã¡ãã»ã¼ã¸ã表示ããã ã¡ãã»ã¼ã¸å 容 WARN visitEnd, No line number information found for class xxx.xxx.Xxxx. Perhaps you need to compileâ¦
åãã« http://docs.oracle.com/cd/E19455-01/806-2720/6jbtth00d/index.html ã§ãOracleãã主è¦ãªã¨ã©ã¼ã¡ãã»ã¼ã¸ã«é¢ããåå ãªã©ãè¼ã£ã¦ããã åãåããã客æ§ã¸ã®èª¬æã®ææãªã©ã§ä½¿ããããªã®ã§ã¡ã¢ã£ã¦ããã 主ãªã¨ã©ã¼ Connection reset by peeâ¦
â ã¨ã©ã¼ãjava.net.MalformedURLException: no protocolããçºçãã * 以ä¸ã®ãµã³ãã«ãå®è¡ããã¨ã ã¨ã©ã¼ãjava.net.MalformedURLException: no protocolãï¼è©³ç´°ã¯ä»¥ä¸ã®ã¨ã©ã¼å 容ãåç §ã®ãã¨) ãçºçãã ã¨ã©ã¼å 容 java.net.MalformedURLExceptioâ¦
â ã使ç¨è¨±è«¾ã«åæããªãã¨èªåã¤ã³ã¹ãã¼ã«ã§ãã¾ãããã表示ããã * Jenkinsã®Antãè¨å®ããå¾ã§ãAntãã«ãå¾ã«ãã³ã³ã½ã¼ã«åºåãçµæã表示ããã¨ã㫠以ä¸ã®ãããªè¡¨ç¤ºã«ãªã£ã ã³ã³ã½ã¼ã«åºå 使ç¨è¨±è«¾ã«åæããªãã¨èªåã¤ã³ã¹ãã¼ã«ã§ãã¾ããã â¦
â ã¨ã©ã¼ãClass has two properties of the same nameãã表示ããã * JAXBã§XMLãã¡ã¤ã«ãããªãã¸ã§ã¯ãå¤ææã«ã以ä¸ã®ã¨ã©ã¼ã表示 ã¨ã©ã¼å 容 com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExcâ¦