Skip to content
This repository was archived by the owner on Aug 20, 2019. It is now read-only.
This repository was archived by the owner on Aug 20, 2019. It is now read-only.

com.jfinal.ext.kit.ClassSearcher 中报正则表达式错误 #21

Description

@Ltaimao

具体文件路径为:com.jfinal.ext.kit.ClassSearcher 中的第87行。
String className = fileName.substring(start + open.length(), end).trim().replaceAll(File.separator, ".");

报错如下:
严重: Exception starting filter jfinal
java.util.regex.PatternSyntaxException: Unexpected internal error near index 1

^
处理方法是将改行的replaceAll 改为replace 。
运行环境为windows 7 ,jdk 为1.7

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions