`
tangqi609567707
  • 浏览: 36018 次
  • 性别: Icon_minigender_1
社区版块
存档分类
最新评论

Compile Error - The Type Comparable is not generic解决方法

    博客分类:
  • JAVA
阅读更多

StringBuffer query = new StringBuffer(768);

 

query.append("12312312");

 

以上第二句代码报错:The type Comparable is not generic, it cannot be parameterized with arguments<string>  

 

百思不得其解。

 

在一个过期很长时间的论坛里找到了这样的回答:

 

The problem is related with classpath.
You should right click on the project in Eclipse and select properties,
select "Java Build Path" then click the "Order and Export" tab and move the java runtime to top of the jar list.
After that, rebuild your project.

 

原文地址:http://rainsilence.iteye.com/blog/844814

分享到:
评论

相关推荐

    EVC-compile-error--.pch.rar_evc error C4509

    解决这个问题的方法主要包括以下几个步骤: 1. **检查预编译头文件**:首先,打开.pch文件,检查是否有任何全局构造函数或析构函数的定义。预编译头文件应该仅包含常量、宏定义、模板和标准库头文件,而不应包含...

    js-conditional-compile-loader-1.0.15.tgz

    总的来说,`js-conditional-compile-loader-1.0.15.tgz`提供了一种解决方案,使得开发者可以在webpack构建流程中方便地进行条件编译,解决了官方包的潜在问题,提高了开发效率和代码质量。对于依赖此功能的项目来说...

    前端开源库-post-compile-webpack-plugin

    const PostCompileWebpackPlugin = require('post-compile-webpack-plugin'); module.exports = { // 其他Webpack配置... plugins: [ // 在这里添加插件 new PostCompileWebpackPlugin({ // 配置你的自定义...

    v8-compile-cache:需要挂钩以实现自动V8编译缓存持久性

    v8编译缓存 v8-compile-cache附加了一个require钩子,以使用来加快实例化时间。 “代码缓存”是V8进行的解析和编译工作。 中引入了利用V8生成/使用此缓存的。用法添加依赖项: $ npm install --save v8-compile-...

    elasticsearch-head-compile-after.tar.gz+node-v8.1.2-linux-x64.ta

    标题中的"elasticsearch-head-compile-after.tar.gz"和"node-v8.1.2-linux-x64.ta"分别指的是两个不同的软件组件。首先,Elasticsearch是一个流行的开源搜索引擎和分析平台,广泛应用于大数据检索、日志分析和实时...

    color-compile - 源码

    在"color-compile-master"这个压缩包中,可能包含以下内容: 1. `color-compile`脚本:这是一个可执行文件或shell脚本,用于拦截`gcc/g++/make`的输出并添加颜色。 2. `README`文件:提供关于如何安装和使用`color-...

    Senfore_DragDrop_v4.1

    Delphi's THandle type when a HWND is passed to a function. E.g.: if (DragDetectPlus(THandle(MyControl-&gt;Handle), Point(X, Y))) { ... } * Virtual File Stream formats can only be pasted from the ...

    fix-Compile-git-error.zip

    因为git下载失败导致openwrt编译失败的解决方案!

    kotlin-compile-testing,用于测试kotlin和java注释处理器、编译器插件和代码生成的库.zip

    《Kotlin-Compile-Testing:测试Kotlin与Java编译环节的利器》 在软件开发过程中,确保编译器插件、注解处理器以及代码生成的正确性是至关重要的。Kotlin-Compile-Testing库正是为此目的而生,它提供了一个强大的...

    conditional-compile-loader

    conditional-compile-loader conditional-compile-loader 根据设定的参数对 vue、js、jsx 和 css(less, sass 等) 代码进行条件编译。 安装 先安装 conditional-compile-loader npm install -D conditional-compile-...

    maven-compile-plugin-1.4.0-incubating.jar

    maven-compile-plugin-1.4.0-incubating.jar

    v8-compile-cache-lib

    v8-compile-cache-lib fork作为API公开,可在其他库和工具中以编程方式使用。 v8-compile-cache-lib附加了一个require钩子,以使用来加快实例化时间。 “代码缓存”是V8进行的解析和编译工作。 中引入了利用V8...

    compile-ejs-loader:webpack加载器用于编译ejs模板(无前端依赖项)

    // =&gt; returns the template function compiled with ejs templating engine.// And then use it somewhere in your codetemplate ( data ) // Pass object with data// Child Templates// path is relative to ...

    Bochs - The cross platform IA-32 (x86) emulator

    - Local APIC configure option --enable-apic is deprecated and should not be used anymore. The LAPIC option now automatically determined from other configure options. XAPIC functionality could be ...

    webpack-post-compile-plugin:一个webpack post编译插件

    webpack-post-compile-plugin 一个webpack post编译插件。 它用于在node_modules中包括后编译模块。 安装 npm i webpack-post-compile-plugin --save-dev 用法 const PostCompilePlugin = require ( 'webpack-post-...

    Compile-CC编译器源代码

    《Compile-CC编译器源代码解析》 Compile-CC编译器,作为一个专注于C_Minus语言的编译工具,其源代码对于学习编译原理和技术具有极高的价值。C_Minus是一种简化版的C语言,它保留了C语言的核心特性,但剔除了部分...

    elasticsearch-head-compile-after.tar.gz

    1. **解压源码**:首先,将 "elasticsearch-head-compile-after.tar.gz" 解压到你的工作目录,例如 `tar -zxvf elasticsearch-head-compile-after.tar.gz`。 2. **运行elasticsearch-head**:解压后,找到包含 ...

    Python库 | pip_compile_multi-1.5.0-py2.py3-none-any.whl

    然后,通过运行`pip Compile multi`命令,库会解析这些输入文件,并生成对应的`requirements.txt`文件,其中包含了经过解决依赖关系后的完整包列表和版本信息。 在安装`pip_compile_multi`时,由于给出的是一个`....

    lazy-compile-webpack-plugin:通过延迟编译动态导入来提高webpack的启动时间

    延迟编译Webpack插件...安装# npmnpm i -D lazy-compile-webpack-plugin# yarnyarn add -D lazy-compile-webpack-plugin用法const LazyCompilePlugin = require ( 'lazy-compile-webpack-plugin' ) ;module . export

    PyPI 官网下载 | proto_compile-0.1.6-py2.py3-none-any.whl

    资源来自pypi官网。 资源全名:proto_compile-0.1.6-py2.py3-none-any.whl

Global site tag (gtag.js) - Google Analytics