HTTP Status 500 - org.apache.jasper.JasperException: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 2  Bytes of  UTF-8  The byte of the sequence  2  Invalid .
When tomcat There is only one... In the container web App can't access , Or always make mistakes from time to time , There may be characters that cannot be decoded in an important configuration file or other files in the application , It's just random code .
This time, the anomalies are as follows , The reason is There are Chinese comments in the custom tag library file that cannot be decoded
Dynamic property names can only be String, Value can only be Object type . The limit depends on DynamicAttributes Interface setDynamicAttribute Method .

HTTP Status 500 - org.apache.jasper.JasperException: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException More articles about

  1. com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte

    com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte ...

  2. com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 3 Bytes of UTF-8 The byte of the sequence 3 Invalid .

    org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document fro ...

  3. com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 3 Bytes of UTF-8 The byte of the sequence x Invalid

    Start up Tomcat Project time , Console error :nested exception is com.sun.org.apache.xerces.internal.impl.io.MalformedByteSeque ...

  4. com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence Error reporting solution

    Added XML After mapping files between entities and tables , Inexplicable error report , puzzled , I can't find anything wrong , Later on mybatis-config.xml Just remove the Chinese comments from the document mybatis-config.xml The contents of the document are as follows , Get rid of ...

  5. jmeter- Template error -Fatal Error! com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 2 Bytes of UTF-8 The byte of the sequence 2 Invalid

    The template used cannot have Chinese !!!! Check the template .

  6. jsp Dynamic page access error :HTTP Status 500 - java.lang.NullPointerException,org.apache.jasper.JasperException: java.lang.NullPointerException

    Today, we import the project into a new project, and the result is : org.apache.jasper.JasperException: java.lang.NullPointerException error ,jsp Actually visit ...

  7. web project ——org.apache.jasper.JasperException: /WEB-INF/content/mainForm.jsp (line: 3, column: 62) File "/WEB-INF/c.tld" not found

    Error message : HTTP Status 500 – Internal Server Error Type Exception Report Message /WEB-INF/content/mainFor ...

  8. org.apache.jasper.JasperException: Unable to compile class for JSP

    Wrong starting time of the project : The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory S ...

  9. org.apache.jasper.JasperException: Expecting "jsp:param" standard action with "name" and "value" attributes

      jasper   Britain  ['dʒæspə]   beautiful  ['dʒæspɚ]  To read   Speaking practice n. Jasper : blackish green n. (Jasper) The person's name :( Virtue ) Jasper :( In the west ) Hasper JasperException different ...

Random recommendation

  1. public, protected and private inheritance in C++

    Get from Stackoverflow. The details can easily understand from the below example. class A { public: ...

  2. MongoDB Replication mechanism instance

    MongoDB The master-slave replication of is a master that can have multiple slaves and master-slave replication . Here is to achieve a master-slave arbitration server using a database server by providing different ports . One . Start a MongoDB The name of the service is applicati ...

  3. A Tour of Go If with a short statement

    Like for, the if statement can start with a short statement to execute before the condition. Variabl ...

  4. Android Development Thread+Handler Demo samples ( Whac-A-Mole )

    Directly in the code package com.mingrisoft; import java.util.Random; import android.app.Activity; import android.o ...

  5. HDU 2092 Integer solution

    Integer solution Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submiss ...

  6. Struts2 Cache in ---- With Injector For example

    Digression , There are a lot of signs in the article 1 identification 2, You can use ctrl+f Search for . The classes that make up the cache There are mainly the following two : com.opensymphony.xwork2.inject.util.ReferenceCac ...

  7. Spring To realize transaction management of multiple data sources

    Article transferred from   https://www.2cto.com/kf/201507/424229.html Preface Due to the introduction of multiple data sources in the project , And you need to write to multiple data sources , Transaction management of so many data sources is inevitable ...

  8. rook Troubleshooting records + Orphaned pod found kube-controller-manager Log output of

    1. see rook-agent( important ) and mysql-wordpress Log , as follows : MountVolume.SetUp failed for volume "pvc-f002e1fe-46 ...

  9. strtotime Before getting , Time after

    A year ago <?php echo strtotime('-1 year'); ?> A year later <?php echo strtotime('+1 year'); ?> Before January & ...

  10. delegate() Event binding Event delegation

    Definition and Usage delegate() Method is the specified element ( A child element of the selected element ) Add one or more event handlers , And specify the functions to run when these events occur . Use delegate() Method for the current or future ...