看一个错误说明"unclosed character literal"是什么意思?如何改?

bigtack 2005-06-15 04:09:29
HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

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

An error occurred at line: 33 in the jsp file: /jsp/renshucanshu_canshu_new_check.jsp

Generated servlet error:
[javac] Compiling 1 source file

E:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\zh\jsp\renshucanshu_canshu_new_check_jsp.java:111: unclosed character literal
String temp_renshu[]={'1_10','11_15','16_25','26_35','36_45','46_60','46_60','61_90','61_90','91_120','91_120','121_150','121_150','151','151'};
^



An error occurred at line: 33 in the jsp file: /jsp/renshucanshu_canshu_new_check.jsp

Generated servlet error:
E:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\zh\jsp\renshucanshu_canshu_new_check_jsp.java:111: unclosed character literal
String temp_renshu[]={'1_10','11_15','16_25','26_35','36_45','46_60','46_60','61_90','61_90','91_120','91_120','121_150','121_150','151','151'};
^



An error occurred at line: 33 in the jsp file: /jsp/renshucanshu_canshu_new_check.jsp

Generated servlet error:
E:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\zh\jsp\renshucanshu_canshu_new_check_jsp.java:111: '}' expected
String temp_renshu[]={'1_10','11_15','16_25','26_35','36_45','46_60','46_60','61_90','61_90','91_120','91_120','121_150','121_150','151','151'};
^
3 errors

...全文
1185 1 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
xhg0418 2005-06-15
  • 打赏
  • 举报
回复
'1_10'是不是换行符啊,jdk有个bug,程序中任何地方出现这个东西都会被编译器当成换行符!
FASMARM v1.42 This package is an ARM assembler add-on for FASM. FASMARM currently supports the full range of instructions for 32-bit and 64-bit ARM processors and coprocessors up to and including v8. Contents: 1. ARM assembly compatibility 2. UAL and pre-UAL syntaxes 3. IT block handling 4. Alternate encodings 5. Output formats 6. Control directives 7. Data definitions 8. Defining registers lists inside macros 9. Half-precision number formatting 10. Variants supported 11. Further information 12. Version history _______________________________________________________________________________ 1. ARM assembly compatibility There are a few restrictions how the ARM instruction set is implemented. The changes are minor and mostly have a minor impact. For the most part the basic instruction outline is the same. Where possible the original style is used but there are some differences: Not everything matches the ARM ADS assembly style, where possible the original style is used but there are some differences 1) label names cannot begin with a digit 2) CPSIE and CPSID formats are changed, use "iflags_aif" form instead of "aif" (eg. "CPSIE iflags_i" instead of "CPSID i") 3) SRS with writeback must have a separating space after the mode number and before "!" (eg. "SRSDB 16 !" instead of "SRSDB 16!") 4) macro, rept, irp, format, if, virtual etc. are all significant changes from the ARM ADS, so you will need to re-write those sections of existing code Original ARM Syntax | fasmarm Syntax ----------------------+---------------------- cpsie a | cpsie iflags_a | srsdb #29! | srsdb #29 ! ;or, | srsdb 29 ! _______________________________________________________________________________ 2. UAL and pre-UAL syntaxes fasmarm supports the original pre-UAL syntax and the newer UAL syntax. These two syntaxes only affect THUMB encodings. UAL stands for: Universal Assembly Language. pre-UAL syntax is selected wi

81,115

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧