`

expecting anything but ''\n''; got it anyway

阅读更多

Caused by: Script1.groovy:1:86: expecting anything but ''\n''; got it anyway
at org.codehaus.groovy.antlr.parser.GroovyLexer$1.nextToken(GroovyLexer.java:225)
at groovyjarjarantlr.TokenBuffer.fill(TokenBuffer.java:69)
at groovyjarjarantlr.TokenBuffer.LA(TokenBuffer.java:80)
at groovyjarjarantlr.LLkParser.LA(LLkParser.java:52)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.balancedTokens(GroovyRecognizer.java:2658)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.balancedBrackets(GroovyRecognizer.java:11989)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.argumentLabelStart(GroovyRecognizer.java:11778)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.argument(GroovyRecognizer.java:11591)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.argList(GroovyRecognizer.java:5453)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.methodCallArgs(GroovyRecognizer.java:9525)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.pathElement(GroovyRecognizer.java:9248)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.pathExpression(GroovyRecognizer.java:8896)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.postfixExpression(GroovyRecognizer.java:11072)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.unaryExpressionNotPlusMinus(GroovyRecognizer.java:10933)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.powerExpression(GroovyRecognizer.java:10773)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.multiplicativeExpression(GroovyRecognizer.java:10705)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.additiveExpression(GroovyRecognizer.java:10373)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.shiftExpression(GroovyRecognizer.java:8094)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.relationalExpression(GroovyRecognizer.java:10109)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.equalityExpression(GroovyRecognizer.java:10049)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.regexExpression(GroovyRecognizer.java:9997)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.andExpression(GroovyRecognizer.java:9965)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.exclusiveOrExpression(GroovyRecognizer.java:9933)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.inclusiveOrExpression(GroovyRecognizer.java:9901)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.logicalAndExpression(GroovyRecognizer.java:9869)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.logicalOrExpression(GroovyRecognizer.java:9837)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.conditionalExpression(GroovyRecognizer.java:3854)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.assignmentExpression(GroovyRecognizer.java:8656)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.expression(GroovyRecognizer.java:6359)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.expressionStatement(GroovyRecognizer.java:7147)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.statement(GroovyRecognizer.java:1048)
at org.codehaus.groovy.antlr.parser.GroovyRecognizer.compilationUnit(GroovyRecognizer.java:557)
at org.codehaus.groovy.antlr.AntlrParserPlugin.parseCST(AntlrParserPlugin.java:79)
... 13 more
 更该页面的编码就可以了 !!!更改之后重启服务!!
分享到:
评论

相关推荐

    解决checkstyle出现的问题:Got an exception - java.lang.RuntimeException Unable to get class information for Exception

    ### 解决Checkstyle出现的问题:Got an exception - java.lang.RuntimeException: Unable to get class information for Exception 在开发过程中,我们可能会遇到使用Checkstyle时出现的异常情况,例如:“Got an ...

    Ruby Quick Syntax Reference.pdf

    Ruby是一种动态的脚本语言,它在程序员群体中因其简洁和优雅的语法而备受喜爱。《Ruby速查手册》是一本为Ruby编程语言提供的快速参考书籍,它将Ruby的核心语法以易于查找的格式进行整理,适合于初学者到中级水平的...

    Thinking with Types

    It sounds cliche, but this book couldn’t have happened without the overwhelming support of the Haskell community. It’s particularly telling that every day I learn new things from them about this ...

    python中报错”json.decoder.JSONDecodeError: Expecting value:”的解决

    在学习python语言中用json库解析网络数据时,我遇到了两个编译错误:json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes:和json.decoder.JSONDecodeError: Expecting value:。...

    python中报错"json.decoder.JSONDecodeError: Expecting value:"的解决

    ### Python中JSONDecodeError: Expecting value 的解决方法 在Python编程中,处理JSON数据是一项常见任务。然而,在处理过程中可能会遇到诸如`json.decoder.JSONDecodeError: Expecting value:`这样的错误,这通常...

    io-ts-reporters:错误报告

    Expecting ${expectedType} at ${path} but instead got: ${expectedType} 对于联合类型: Expecting one of: ${unionType1} ${unionType2} ${...} ${unionTypeN} at ${path} but instead got: ${actualValue}...

    2014高考英语一轮 短文改错、信息匹配训练(15)

    例如在描述中的句子"It was a lesson to us that it was possible give without expecting anything",应在"give"前加上"to",改为"It was a lesson to us that it was possible to give without expecting anything...

    Python解析json之ValueError: Expecting property name enclosed in double quotes: line 1 column 2(char 1)

    ### Python解析JSON之ValueError: Expecting property name enclosed in double quotes: line 1 column 2(char 1) #### 前言 在Python中,`json`模块提供了一种非常方便的方式来处理JSON数据,包括读取、写入...

    解决dubbo标签报错,原因是:缺少dubbo.xsd

    dubbo标签报错 http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd 下载一个dubbo.xsd文件windows->preferrence->xml->xmlcatalog add->catalog entry ->file system ...

    制作交叉编译器时遇到的错误及解决

    ### 制作交叉编译器时遇到的错误及解决 在进行嵌入式系统开发时,经常需要构建一个交叉编译器来为特定的目标平台编译代码。这通常涉及到复杂的配置过程以及对编译工具链的深入理解。下面将根据题目给出的信息,详细...

    Python:Expecting property name enclosed in double quotes: line 1 column 2 (char 1)问题解决

    今天在处理 JSON 数据的时候遇到了一个意想不到的问题,不过也算是个小问题吧,记录一下解决方案,同时提醒自己下次不要犯同样的错误了。 目录 一、json (一)json.loads (二)json.dumps 二、问题 ...

    Latent Dirichlet Allocation 源代码

    **Latent Dirichlet Allocation(LDA)源代码解析** Latent Dirichlet Allocation(潜在狄利克雷分配)是一种主题模型,广泛应用于文本挖掘、自然语言处理和信息检索领域。LDA假设文档是由多个主题混合而成的,而每...

    连词经典练习题 (3).doc

    6. **转折连词** - "Huawei Mate 10 is a big beautiful phone, but it’s a little expensive.","but"在这里表示前后两个句子之间的对比或转折。 7. **though引导的让步状语从句** - "As Emerson puts it, though...

    用stanfordCoreNLP进行中文分词时出现json编码错误(csdn)————程序.pdf

    在使用stanfordCoreNLP的Python包`stanfordcorenlp`时,报出的错误`json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)`通常意味着在尝试解码JSON响应时遇到了问题。JSON(JavaScript Object...

    《乱世佳人》经典台词归纳.pdf

    6. **付出与回报**:“I never give anything without expecting something in return. I always get paid.” 这种商业智慧在IT项目管理中尤为重要,确保投入与收益相匹配,合理设定项目目标和预期。 7. **爱的力量...

    基础矩阵-Python代码-计算机视觉

    在计算机视觉领域,基础矩阵(Fundamental Matrix)是一种重要的数学工具,用于描述两幅图像之间的几何关系,特别是在处理由同一场景但不同视角拍摄的图像对时。基础矩阵是由两摄像机的内参和相对姿态决定的,包含了...

    Kotllin In Action

    《Kotlin in Action》是一本专门探讨Kotlin编程语言的中文版书籍,涵盖了从基础到高级的各个方面,适合Android开发者以及对Kotlin感兴趣的程序员阅读。这本书深入浅出地讲解了Kotlin的语法特性、类型系统、函数式...

    广东省珠海市普通高中2018届高考英语三轮复习冲刺模拟试题(8)201805300359

    9. **助动词与期待**:33题中的"without expecting anything in return"表明无私的帮助行为,"expecting"在此处是现在分词作伴随状语,表示主动和正在进行的动作。 以上这些知识点是高考英语复习中的重点,包括听力...

Global site tag (gtag.js) - Google Analytics