Program type already present问题应该怎么解决 5C

根据网上的搜索信息改成了27.1.1,但问题还没有解决,请问该怎么做?

apply plugin: 'com.android.application'
buildscript {
    repositories {
        mavenCentral()
        jcenter()
        google()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.3'
    }

    allprojects {
         repositories {
            jcenter()
        }
    }
}
dependencies {
    implementation fileTree(include: '*.jar', dir: 'libs')
//    implementation project(':appcompat_v7')
//    implementation project(':recyclerview')
    implementation 'com.android.support:appcompat-v7:27.1.1'
    implementation project(':recyclerview')
    debugCompile 'me.ele:uetool:1.0.15'
    releaseCompile 'me.ele:uetool-no-op:1.0.15'
    // if you want to show more attrs about Fresco's DraweeView
    debugCompile 'me.ele:uetool-fresco:1.0.15'
//
//    configurations {
//        all*.exclude group: 'com.android.support', module: 'support-v13'
//    }
}

android {
    compileSdkVersion 26
    buildToolsVersion '26.0.2 '
    useLibrary 'org.apache.http.legacy'
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_7
        targetCompatibility JavaVersion.VERSION_1_7
    }
    aaptOptions.cruncherEnabled = false
    aaptOptions.useNewCruncher = false

    lintOptions {
        abortOnError false
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'),        'proguard-rules.pro'
        }
    }
    sourceSets {
        main {
            manifest.srcFile 'AndroidManifest.xml'

            java.srcDirs = ['src']
            resources.srcDirs = ['src']
            aidl.srcDirs = ['src']
            renderscript.srcDirs = ['src']
            res.srcDirs = ['res']
            assets.srcDirs = ['assets']
            jniLibs.srcDirs = ['jniLibs'];
        }
        androidTest .setRoot('tests')

        // Move the build types to build-types/<type>
        // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
        // This moves them out of them default location under src/<type>/... which would
        // conflict with src/ being used by the main source set.
        // Adding new build types or product flavors should be accompanied
        // by a similar customization.
        debug.setRoot('build-types/debug')
        release.setRoot('build-types/release')
    }
}

repositories {
    google()
} 

2个回答

应该是你添加了两个一样的但是不同命的jar包在libs里,我把其中一个删除后就解决了。

dependencies {
    classpath 'com.android.tools.build:gradle:3.1.3'
}

这个版本和你用的一致么?

languobeibei
张小贝_ 一致的
接近 2 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
遇到Program type already present: android.support.v4.app.BackStackRecord$Op这个问题

运行代码的时候,出现了这个问题 ``` Program type already present: android.support.v4.app.BackStackRecord$Op Message{kind=ERROR, text=Program type already present: android.support.v4.app.BackStackRecord$Op, sources=[Unknown source file], tool name=Optional.of(D8)} ``` 虽然不知道具体意思,感觉就是v4包冲突,可是我不会找在哪冲突的 在网上疯狂搜解决办法,没有一个奏效 给各位大佬呈上我的build.gradle ``` apply plugin: 'com.android.application' android { compileSdkVersion 27 defaultConfig { applicationId "com.example.asus.bs_im" minSdkVersion 16 targetSdkVersion 27 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" //use legacy for android 6.0 useLibrary 'org.apache.http.legacy' } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { api fileTree(include: ['*.jar'], dir: 'libs') api 'com.android.support.constraint:constraint-layout:1.0.2' implementation 'com.android.support:appcompat-v7:27.1.1' implementation 'com.android.support:support-v4:27.1.1' implementation 'com.squareup.okhttp3:okhttp:3.8.1' implementation 'com.google.code.gson:gson:2.8.1' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.1' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' api project(':easeui') configurations { all*.exclude group: 'com.android.support', module: 'support-v13' } } ``` 整了两三个小时了,各种办法都试过了,希望有大佬来拯救一下我这个辣鸡

Program type already present: com.tencent.a.a.a.a.a,应如何解决?

![![图片说明](https://img-ask.csdn.net/upload/201811/02/1541127821_86906.png)图片说明](https://img-ask.csdn.net/upload/201811/02/1541127813_609953.png) 安卓项目报错:Program type already present: com.tencent.a.a.a.a.a,应如何解决?

Android 依赖冲突:Program type already present: org.MediaPlayer.PlayM4.MediaCodecHwDecImpl

程序运行时候出现的错误如下图所示: ![图片说明](https://img-ask.csdn.net/upload/202003/16/1584343617_369104.png) 我配置的依赖如下图所示:![图片说明](https://img-ask.csdn.net/upload/202003/16/1584343660_670234.png) base_lib 模块集成了本地依赖(海康威视sdk和其他一些sdk) 依赖base_lib模块的其他模块如下图所示: ![图片说明](https://img-ask.csdn.net/upload/202003/16/1584343886_467608.png) ![图片说明](https://img-ask.csdn.net/upload/202003/16/1584343910_581831.png) app模块里: ![图片说明](https://img-ask.csdn.net/upload/202003/16/1584343941_230815.png) 然后运行就出了这么个问题,百度谷歌了都没能解决问题。有遇到过这样问题的大佬么?怎么解决这样的问题。

android编译项目时报错 “bolts.AggregateException”

Program type already present: bolts.AggregateException Message{kind=ERROR, text=Program type already present: bolts.AggregateException, sources=[Unknown source file], tool name=Optional.of(D8)}

Android使用Jna出现程序类型已存在

Error: Program type already present: com.sun.jna.Callback$UncaughtExceptionHandler 这是build时候报的错误

shareSDK运行报错,求解

Description Resource Path Location Type Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lcn/sharesdk/wechat/friends/Wechat$1; WisdomBeijing Unknown Android Packaging Problem

intellij idea编译问题

我在网上看到不少评论说intellij idea很好就下了一个免费版的试试, 、我导入一个eclipse工程(工程比较大),没想到编译竟然花了几个小时,而且最后 还报内存不足,我heap都夹到4000了还不够,eclipse编译才10分钟不到啊,而且 还不需要这么多内存。请问是哪里设置错了吗,有没有人碰到过这样的问题? 不好意思我没有c币:)

Facebook Access Token正在失去生产中的所有范围

<div class="post-text" itemprop="text"> <p>Till 3 days ago, our login service was working fine. Now its broken by a unknown problem with Facebook oAuth.</p> <p>Our app (built with React Native using native FBSDK), ask for Facebook for an Access Token and forward it to our API.</p> <p><code>LoginManager.logInWithReadPermissions(['public_profile', 'email'])</code></p> <p>Then, our API try to validate the token against Facebook Graph API. Basically we do this:</p> <pre><code>public static function getInformationFromFacebook($accessToken) { $facebook = new Facebook([ 'app_id' =&gt; config('services.facebook.app_id'), 'app_secret' =&gt; config('services.facebook.app_secret'), 'default_graph_version' =&gt; config('services.facebook.default_graph_version'), ]); try { $response = $facebook -&gt;get('/me?fields=first_name,last_name,email,picture.type(large)', $accessToken); } catch (FacebookResponseException $e) { Log::error(sprintf('Graph returned an error: %s', $e-&gt;getMessage())); throw new \Exception("Facebook graph error."); } catch (FacebookSDKException $e) { Log::error(sprintf('Facebook SDK returned an error: %s', $e-&gt;getMessage())); throw new \Exception("Facebook SDK error."); } $graph = $response-&gt;getGraphUser(); return [ 'first_name' =&gt; $graph-&gt;getFirstName(), 'last_name' =&gt; $graph-&gt;getLastName(), 'email_address' =&gt; $graph-&gt;getEmail(), 'picture' =&gt; $graph-&gt;getPicture()-&gt;getUrl(), ]; } </code></pre> <p>This piece of code uses Laravel 5.2 running with PHP 7.2 with the native Facebook SDK.</p> <p>The expected behavior is an array with the user data, but it only works at local environment, when we try to debug this on staging server, the scopes from the user's access token are lost.</p> <p>We discovered that we scopes are lost using this Facebook debug tool</p> <pre><code>// The OAuth 2.0 client handler helps us manage access tokens $oAuth2Client = $facebook-&gt;getOAuth2Client(); // Get the access token metadata from /debug_token $tokenMetadata = $oAuth2Client-&gt;debugToken($accessToken); echo '&lt;h3&gt;Metadata&lt;/h3&gt;'; var_dump($tokenMetadata);die; </code></pre> <p>Basically, when we're at the local the scopes are</p> <pre><code> 'scopes' =&gt; array (size=2) 0 =&gt; string 'email' (length=5) 1 =&gt; string 'public_profile' (length=14) </code></pre> <p>when we change the call to the staging environment, the result is</p> <pre><code>["scopes"]=&gt; array(0) { } </code></pre> <p>We tried all kind of things, even updating our SDK.</p> </div>

刚刚使用Android studio2.0遇到些问题

Android studio 2.0确实给人焕然一新的感觉但是编译运行时太占内存了。电脑基本跑不动了,有什么好的方法解决一下。

Android Xutils DBUtils save 报错

我在Android开发的时候,利用DBUtils来存储bean,我有 @Id 注解的id,但是sava的方法的时候 会报以下错误 11-18 17:03:15.751 17326-17326/dawizards.eatting W/System.err: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Float 11-18 17:03:15.751 17326-17326/dawizards.eatting W/System.err: at com.lidroid.xutils.db.converter.FloatColumnConverter.fieldValue2ColumnValue(FloatColumnConverter.java:1) 11-18 17:03:15.751 17326-17326/dawizards.eatting W/System.err: at com.lidroid.xutils.db.table.Column.getColumnValue(Column.java:80) 11-18 17:03:15.751 17326-17326/dawizards.eatting W/System.err: at com.lidroid.xutils.db.sqlite.SqlInfoBuilder.column2KeyValue(SqlInfoBuilder.java:267) 11-18 17:03:15.751 17326-17326/dawizards.eatting W/System.err: at com.lidroid.xutils.db.sqlite.SqlInfoBuilder.entity2KeyValueList(SqlInfoBuilder.java:293) 11-18 17:03:15.751 17326-17326/dawizards.eatting W/System.err: at com.lidroid.xutils.db.sqlite.SqlInfoBuilder.buildInsertSqlInfo(SqlInfoBuilder.java:36) 11-18 17:03:15.751 17326-17326/dawizards.eatting W/System.err: at com.lidroid.xutils.DbUtils.save(DbUtils.java:216)

求助各位大神,导入别人的项目报DexArchiveMergerException错误和(图)

接收一个外包项目~拿别人的代码项目导入到android studio Rebuild project的时候报如下错误~弄了老半天~整不出答案~希望各位大神帮忙指点迷津。谢谢 ![图片说明](https://img-ask.csdn.net/upload/201808/28/1535433919_768818.png) 项目导入之后没有任何问题,但是rebuild project的时候报以下错误(如图所示) ![图片说明](https://img-ask.csdn.net/upload/201808/28/1535433940_278552.png) Program type already present: android_serialport_api.SerialPort Message{kind=ERROR, text=Program type already present: android_serialport_api.SerialPort, sources=[Unknown source file], tool name=Optional.of(D8)} ![图片说明](https://img-ask.csdn.net/upload/201808/28/1535433962_965117.png) Caused by: com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: D:\ZYP\GDFace_ZY\app\build\intermediates\transforms\dexBuilder\debug\30, D:\ZYP\GDFace_ZY\app\build\intermediates\transforms\externalLibsDexMerger\debug\0, D:\ZYP\GDFace_ZY\app\build\intermediates\transforms\dexBuilder\debug\27.jar, D:\ZYP\GDFace_ZY\app\build\intermediates\transforms\dexBuilder\debug\28.jar, D:\ZYP\GDFace_ZY\app\build\intermediates\transforms\dexBuilder\debug\29.jar ![图片说明](https://img-ask.csdn.net/upload/201808/28/1535433971_291356.png) Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete ![图片说明](https://img-ask.csdn.net/upload/201808/28/1535434080_553051.png) Caused by: com.android.tools.r8.utils.AbortException ![图片说明](https://img-ask.csdn.net/upload/201808/28/1535434089_258800.png)

解析数据时出错org.json.JSONException:Value String无法转换为JSONArray

<div class="post-text" itemprop="text"> <p>Here is list activity.</p> <p><strong>List Activity:</strong></p> <pre><code>public class ListDataActivity extends ListActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.layout_listview); url = "http://xxx.xx.x.xxx/index.php"; Bundle c = getIntent().getExtras(); blo = c.getString("blood"); new ProgressTask(ListDataActivity.this).execute(); } @Override public void onBackPressed() { // TODO Auto-generated method stub super.onBackPressed(); } class ProgressTask extends AsyncTask&lt;String, Void, Boolean&gt; { ArrayList&lt;HashMap&lt;String, String&gt;&gt; jsonlist = new ArrayList&lt;HashMap&lt;String, String&gt;&gt;(); ConnectivityManager conMgr = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); { if (conMgr.getActiveNetworkInfo() != null &amp;&amp; conMgr.getActiveNetworkInfo().isAvailable() &amp;&amp; conMgr.getActiveNetworkInfo().isConnected()) { } else { Toast.makeText(getApplicationContext(), "INTERNET CONNECTION NOT PRESENT", Toast.LENGTH_SHORT) .show(); startActivity(new Intent(ListDataActivity.this, MainActivity.class)); } } public ProgressTask(ListActivity activity) { context = activity; } private Context context; protected void onPreExecute() { } @Override protected void onPostExecute(final Boolean success) { ListAdapter adapter = new SimpleAdapter(context, jsonlist, R.layout.row_listitem, new String[] { name, Category }, new int[] { R.id.vehicleType, R.id.vehicleColor }) { @Override public View getView(int position, View convertView, ViewGroup parent) { if (convertView == null) { // This a new view we inflate the new layout LayoutInflater inflater = (LayoutInflater) context .getSystemService(Context.LAYOUT_INFLATER_SERVICE); convertView = inflater.inflate(R.layout.row_listitem, null); } // TODO Auto-generated method stub if (position % 2 == 1) { convertView.setBackgroundColor(Color.rgb(120, 151, 66)); } else { convertView.setBackgroundColor(Color.rgb(86, 107, 129)); } return super.getView(position, convertView, parent); } }; setListAdapter(adapter); lv = getListView(); lv.setOnItemClickListener(new OnItemClickListener() { @Override public void onItemClick(AdapterView&lt;?&gt; parent, View view, int position, long id) { } }); } protected Boolean doInBackground(final String... args) { url = url + "?blo_name=" + blo; Log.d("", url); baseAdapter jParser = new baseAdapter(); JSONArray json = jParser.getJSONFromUrl(url); if (json != null) { for (int i = 0; i &lt; json.length(); i++) { try { JSONObject c = json.getJSONObject(i); String vtype = c.getString(name); String vfuel = c.getString(Category); HashMap&lt;String, String&gt; map = new HashMap&lt;String, String&gt;(); // Add child node to HashMap key &amp; value map.put(name, vtype); map.put(Category, vfuel); jsonlist.add(map); } catch (JSONException e) { e.printStackTrace(); } } } return null; } </code></pre> <p><strong>Base Adapter class:</strong></p> <pre><code>public class baseAdapter { static InputStream iStream = null; static JSONArray jarray = null; static String json = ""; public baseAdapter() { } public JSONArray getJSONFromUrl(String url) { StringBuilder builder = new StringBuilder(); HttpClient client = new DefaultHttpClient(); HttpGet httpGet = new HttpGet(url); try { HttpResponse response = client.execute(httpGet); StatusLine statusLine = response.getStatusLine(); int statusCode = statusLine.getStatusCode(); if (statusCode == 200) { HttpEntity entity = response.getEntity(); InputStream content = entity.getContent(); BufferedReader reader = new BufferedReader( new InputStreamReader(content)); String line; while ((line = reader.readLine()) != null) { builder.append(line); } } else { Log.e("==&gt;", "Failed "); } } catch (ClientProtocolException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } // Parse String to JSON object try { jarray = new JSONArray(builder.toString()); } catch (JSONException e) { Log.e("JSON Parser", "Error parsing data " + e.toString()); } // return JSON Object return jarray; } </code></pre> <p><strong>php:</strong></p> <pre><code>if(isset($_POST['blo_name'])){ $str = $_POST['blo_name']; $sql = "SELECT * FROM blood_group where Category IN ($str)"; $result = mysql_query($sql); while($row=mysql_fetch_array($result)) $output[]=$row; print(json_encode($output)); mysql_close(); } </code></pre> <p>My Question is, I an trying to parse <code>bol</code> string, it have value like <code>bol="'B-','O-'";</code> while I parse this type of value it didn't show results and gives the logcat.</p> <p><strong>logcat:</strong></p> <pre><code>Error parsing data org.json.JSONException: Value &lt;br of type java.lang.String cannot be converted to JSONArray </code></pre> <p>While I parse simple value like <code>"B,O"</code>and change in DB it give me result fine. But, I need to parse that value. Pplease, help me out. Thank You</p> </div>

AS 使用友盟分享报下列错误,但是能运行,怎么解决????

Error:warning: Ignoring InnerClasses attribute for an anonymous inner class Error:(com.tencent.mm.opensdk.diffdev.a.b) that doesn't come with an Error:associated EnclosingMethod attribute. This class was probably produced by a Error:compiler that did not target the modern .class file format. The recommended Error:solution is to recompile the class from source, using an up-to-date compiler Error:and without specifying any "-target" type options. The consequence of ignoring Error:this warning is that reflective operations on this class will incorrectly Error:indicate that it is *not* an inner class. Error:warning: Ignoring InnerClasses attribute for an anonymous inner class Error:(com.tencent.mm.opensdk.diffdev.a.c) that doesn't come with an Error:associated EnclosingMethod attribute. This class was probably produced by a Error:compiler that did not target the modern .class file format. The recommended Error:solution is to recompile the class from source, using an up-to-date compiler Error:and without specifying any "-target" type options. The consequence of ignoring Error:this warning is that reflective operations on this class will incorrectly Error:indicate that it is *not* an inner class. Error:warning: Ignoring InnerClasses attribute for an anonymous inner class Error:(com.tencent.mm.opensdk.openapi.WXApiImplV10$1) that doesn't come with an Error:associated EnclosingMethod attribute. This class was probably produced by a Error:compiler that did not target the modern .class file format. The recommended Error:solution is to recompile the class from source, using an up-to-date compiler Error:and without specifying any "-target" type options. The consequence of ignoring Error:this warning is that reflective operations on this class will incorrectly Error:indicate that it is *not* an inner class. Error:warning: Ignoring InnerClasses attribute for an anonymous inner class Error:(com.tencent.mm.opensdk.openapi.WXApiImplV10$ActivityLifecycleCb$1) that doesn't come with an Error:associated EnclosingMethod attribute. This class was probably produced by a Error:compiler that did not target the modern .class file format. The recommended Error:solution is to recompile the class from source, using an up-to-date compiler Error:and without specifying any "-target" type options. The consequence of ignoring Error:this warning is that reflective operations on this class will incorrectly Error:indicate that it is *not* an inner class. Error:warning: Ignoring InnerClasses attribute for an anonymous inner class Error:(com.tencent.mm.opensdk.openapi.WXApiImplV10$ActivityLifecycleCb$2) that doesn't come with an Error:associated EnclosingMethod attribute. This class was probably produced by a Error:compiler that did not target the modern .class file format. The recommended Error:solution is to recompile the class from source, using an up-to-date compiler Error:and without specifying any "-target" type options. The consequence of ignoring Error:this warning is that reflective operations on this class will incorrectly Error:indicate that it is *not* an inner class.

使导入新浪微博的SDK时出现异常

SDK中有两个项目,一个是weiboSDK开源项目,一个是weiboSDKDemo示范项目,但是weiboSDKDemo出现红色感叹号,查了一下,说是weibosdk.jar包丢失,weibosdk.jar不是将WeiboSDK项目当做library导入后自动生成的吗?为什么会丢失,怎么解决呢?好心人帮帮忙,在线等

android.support.v7.widget.SwitchCompat的一个疑似BUG问题

使用了这个的兼容包控件替换switch,因为是放在listview里面,所以之前也已经解决了viewholder造成的switch错乱问题,但是仅仅是把控件由switch换成SwitchCompat,发现拉动listview就出现了控件错乱了,而换回switch又完全没有问题。请问有人遇到过这样的问题吗?难道还是要老老实实用回switch ,MD设计兼容包的控件还是存在一些BUG?

Android Studio导入第三方库AndroidSwipeLayout 运行时报错

本人刚开始学习android,小白水平。在导入第三方库AndroidSwipeLayout的时候遇到错误:每次运行的时候都会报错Error: Program type already present: android.support.v4.os.ResultReceiver。 因为刚开始学习,对gradle还不是很了解,到网上查询之后说是可能我有两个包版本不同但同时导入才导致的,但是我实在找不到报错中的信息对应在构建文件中的什么部分,在网上找了几个办法也都没有管用,求大神指点! 导入时用的是import Module,然后在project structure里添加依赖。 本人对gradle正在努力学习,还不是很懂,,附上配置文件的部分: **项目的build.gradle** ``` buildscript { repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.2.0-beta04' } } allprojects { repositories { google() jcenter() } } task clean(type: Delete) { delete rootProject.buildDir } ``` ## **app的build.gradle** ``` apply plugin: 'com.android.application' android { compileSdkVersion 28 defaultConfig { applicationId "com.zhang.hp.myapplication" minSdkVersion 15 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'androidx.appcompat:appcompat:1.0.0-alpha1' implementation 'androidx.constraintlayout:constraintlayout:1.1.2' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test:runner:1.1.0-alpha3' androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha3' implementation project(':library') } ``` ## 导入的library的build.gradle ``` apply plugin: 'com.android.library' android { compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION) buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION defaultConfig { minSdkVersion 9 targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION) } } dependencies { compile 'com.android.support:recyclerview-v7:25.2.0' compile 'com.android.support:support-v4:25.2.0' } // build a jar with source files task sourcesJar(type: Jar) { from android.sourceSets.main.java.srcDirs classifier = 'sources' } artifacts { archives sourcesJar } ``` ## **gradle.properties** ``` # Project-wide Gradle settings. # IDE (e.g. Android Studio) users: # Gradle settings configured through the IDE *will override* # any settings specified in this file. # For more details on how to configure your build environment visit # http://www.gradle.org/docs/current/userguide/build_environment.html # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. org.gradle.jvmargs=-Xmx1536m # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true ANDROID_BUILD_TARGET_SDK_VERSION=25 ANDROID_BUILD_TOOLS_VERSION=25.0.0 ANDROID_BUILD_SDK_VERSION=25 ANDROID_BUILD_MIN_SDK_VERSION=14 ``` 最好能说明一下导包的版本问题,希望大神们能指点一下,谢谢!

android 签名打包时出错

我有四个外部类,在proguard-project.txt也使用了如下语句 -libraryjars libs/commons-logging-1.2.jar -libraryjars libs/android-support-v4.jar -libraryjars libs/commons-codec-1.10.jar -libraryjars libs/commons-httpclient-3.0.1.jar 但签名打包总会出错。 出错时log如下: Warning: org.apache.commons.logging.impl.ServletContextCleaner: can't find superclass or interface javax.servlet.ServletContextListener Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.AvalonLogger: can't find referenced class org.apache.avalon.framework.logger.Logger Warning: org.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.apache.log4j.Logger Warning: org.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.apache.log4j.Logger Warning: org.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.apache.log4j.Level Warning: org.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.apache.log4j.Level Warning: org.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.apache.log4j.Level Warning: org.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.apache.log4j.Level Warning: org.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.apache.log4j.Level Warning: org.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.apache.log4j.Logger Warning: org.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.apache.log4j.Logger Warning: org.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.apache.log4j.Logger Warning: org.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.apache.log4j.Logger Warning: org.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.apache.log4j.Priority Warning: org.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.apache.log4j.Logger Warning: org.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.apache.log4j.Level Warning: org.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.apache.log4j.Logger Warning: org.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.apache.log4j.Priority Warning: org.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.apache.log4j.Logger Warning: org.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.apache.log4j.Logger Warning: org.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.apache.log4j.Logger Warning: org.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.apache.log4j.Logger Warning: org.apache.commons.logging.impl.Log4JLogger: can't find referenced class org.apache.log4j.Priority Warning: org.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.apache.log.Hierarchy Warning: org.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.apache.log.Hierarchy Warning: org.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.apache.log.Logger Warning: org.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.apache.log.Logger Warning: org.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.apache.log.Logger Warning: org.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.apache.log.Logger Warning: org.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.apache.log.Logger Warning: org.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.apache.log.Logger Warning: org.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.apache.log.Logger Warning: org.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.apache.log.Logger Warning: org.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.apache.log.Logger Warning: org.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.apache.log.Logger Warning: org.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.apache.log.Logger Warning: org.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.apache.log.Logger Warning: org.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.apache.log.Logger Warning: org.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.apache.log.Logger Warning: org.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.apache.log.Logger Warning: org.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.apache.log.Hierarchy Warning: org.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.apache.log.Logger Warning: org.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.apache.log.Logger Warning: org.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.apache.log.Logger Warning: org.apache.commons.logging.impl.LogKitLogger: can't find referenced class org.apache.log.Logger Warning: org.apache.commons.logging.impl.ServletContextCleaner: can't find referenced class javax.servlet.ServletContextListener Warning: org.apache.commons.logging.impl.ServletContextCleaner: can't find referenced class javax.servlet.ServletContextEvent Warning: org.apache.commons.logging.impl.ServletContextCleaner: can't find referenced class javax.servlet.ServletContextEvent Warning: org.apache.commons.logging.impl.ServletContextCleaner: can't find referenced class javax.servlet.ServletContextEvent Warning: org.apache.commons.logging.impl.ServletContextCleaner: can't find referenced class javax.servlet.ServletContextEvent You should check if you need to specify additional program jars. Warning: there were 73 unresolved references to classes or interfaces. You may need to specify additional library jars (using '-libraryjars'). java.io.IOException: Please correct the above warnings first. at proguard.Initializer.execute(Initializer.java:321) at proguard.ProGuard.initialize(ProGuard.java:211) at proguard.ProGuard.execute(ProGuard.java:86) at proguard.ProGuard.main(ProGuard.java:492)

新手求帮忙!!!!大神们帮忙看下这是什么错误,非常感谢

十月 31, 2018 10:46:47 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin 警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:ssh-2' did not find a matching property. 十月 31, 2018 10:46:47 下午 org.apache.catalina.core.AprLifecycleListener init 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\jdk1.7.0_71\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:/jdk1.7.0_71/bin/../jre/bin/client;D:/jdk1.7.0_71/bin/../jre/bin;D:/jdk1.7.0_71/bin/../jre/lib/i386;F:\apache-tomcat-6.0.16\bin;C:\Program Files\MySQL\MySQL Server 5.5\bin;D:\jdk1.7.0_71\bin;C:\Program Files\Intel\iCLS Client\;C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;.;;D:\eclipse\eclipse;;.;;.;;.;;. 十月 31, 2018 10:46:47 下午 org.apache.coyote.http11.Http11Protocol init 信息: Initializing Coyote HTTP/1.1 on http-8989 十月 31, 2018 10:46:47 下午 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 1320 ms 十月 31, 2018 10:46:47 下午 org.apache.catalina.core.StandardService start 信息: Starting service Catalina 十月 31, 2018 10:46:47 下午 org.apache.catalina.core.StandardEngine start 信息: Starting Servlet Engine: Apache Tomcat/6.0.16 十月 31, 2018 10:46:48 下午 org.apache.catalina.core.StandardContext addApplicationListener 信息: The listener "org.springframework.web.context.ContextLoaderListener" is already configured for this context. The duplicate definition has been ignored. 十月 31, 2018 10:46:48 下午 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring root WebApplicationContext 十月 31, 2018 10:46:48 下午 org.springframework.web.context.ContextLoader initWebApplicationContext 信息: Root WebApplicationContext: initialization started 十月 31, 2018 10:46:48 下午 org.springframework.web.context.support.XmlWebApplicationContext prepareRefresh 信息: Refreshing Root WebApplicationContext: startup date [Wed Oct 31 22:46:48 CST 2018]; root of context hierarchy 十月 31, 2018 10:46:48 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions 信息: Loading XML bean definitions from class path resource [applicationContext.xml] 十月 31, 2018 10:46:49 下午 org.springframework.context.support.PropertySourcesPlaceholderConfigurer loadProperties 信息: Loading properties file from class path resource [db.properties] 十月 31, 2018 10:46:49 下午 com.mchange.v2.log.MLog <clinit> 信息: MLog clients using java 1.4+ standard logging. 十月 31, 2018 10:46:49 下午 com.mchange.v2.c3p0.C3P0Registry banner 信息: Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10] 十月 31, 2018 10:46:49 下午 org.springframework.web.context.ContextLoader initWebApplicationContext 严重: Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'org.springframework.core.io.Resource[]' for property 'mappingLocations'; nested exception is java.lang.IllegalArgumentException: Could not resolve resource location pattern [calsspath:com/atguigu/ssh/entities/*.hbm.xml]: ServletContext resource [/calsspath:com/atguigu/ssh/entities/] cannot be resolved to URL because it does not exist at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:547) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:681) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:381) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:293) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'org.springframework.core.io.Resource[]' for property 'mappingLocations'; nested exception is java.lang.IllegalArgumentException: Could not resolve resource location pattern [calsspath:com/atguigu/ssh/entities/*.hbm.xml]: ServletContext resource [/calsspath:com/atguigu/ssh/entities/] cannot be resolved to URL because it does not exist at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:478) at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:509) at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:504) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1502) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1461) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1197) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) ... 26 more Caused by: java.lang.IllegalArgumentException: Could not resolve resource location pattern [calsspath:com/atguigu/ssh/entities/*.hbm.xml]: ServletContext resource [/calsspath:com/atguigu/ssh/entities/] cannot be resolved to URL because it does not exist at org.springframework.core.io.support.ResourceArrayPropertyEditor.setAsText(ResourceArrayPropertyEditor.java:140) at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:430) at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:403) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:181) at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:458) ... 32 more 十月 31, 2018 10:46:49 下午 org.apache.catalina.core.StandardContext listenerStart 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'org.springframework.core.io.Resource[]' for property 'mappingLocations'; nested exception is java.lang.IllegalArgumentException: Could not resolve resource location pattern [calsspath:com/atguigu/ssh/entities/*.hbm.xml]: ServletContext resource [/calsspath:com/atguigu/ssh/entities/] cannot be resolved to URL because it does not exist at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:547) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:681) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:381) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:293) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'org.springframework.core.io.Resource[]' for property 'mappingLocations'; nested exception is java.lang.IllegalArgumentException: Could not resolve resource location pattern [calsspath:com/atguigu/ssh/entities/*.hbm.xml]: ServletContext resource [/calsspath:com/atguigu/ssh/entities/] cannot be resolved to URL because it does not exist at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:478) at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:509) at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:504) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1502) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1461) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1197) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) ... 26 more Caused by: java.lang.IllegalArgumentException: Could not resolve resource location pattern [calsspath:com/atguigu/ssh/entities/*.hbm.xml]: ServletContext resource [/calsspath:com/atguigu/ssh/entities/] cannot be resolved to URL because it does not exist at org.springframework.core.io.support.ResourceArrayPropertyEditor.setAsText(ResourceArrayPropertyEditor.java:140) at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:430) at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:403) at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:181) at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:458) ... 32 more 十月 31, 2018 10:46:49 下午 org.apache.catalina.core.StandardContext start 严重: Error listenerStart 十月 31, 2018 10:46:49 下午 org.apache.catalina.core.StandardContext start 严重: Context [/ssh-2] startup failed due to previous errors 十月 31, 2018 10:46:49 下午 org.apache.catalina.core.ApplicationContext log 信息: Closing Spring root WebApplicationContext 十月 31, 2018 10:46:50 下午 org.apache.coyote.http11.Http11Protocol start 信息: Starting Coyote HTTP/1.1 on http-8989 十月 31, 2018 10:46:50 下午 org.apache.jk.common.ChannelSocket init 信息: JK: ajp13 listening on /0.0.0.0:8009 十月 31, 2018 10:46:50 下午 org.apache.jk.server.JkMain start 信息: Jk running ID=0 time=0/47 config=null 十月 31, 2018 10:46:50 下午 org.apache.catalina.startup.Catalina start 信息: Server startup in 2862 ms

大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了

大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

Java基础知识面试题(2020最新版)

文章目录Java概述何为编程什么是Javajdk1.5之后的三大版本JVM、JRE和JDK的关系什么是跨平台性?原理是什么Java语言有哪些特点什么是字节码?采用字节码的最大好处是什么什么是Java程序的主类?应用程序和小程序的主类有何不同?Java应用程序与小程序之间有那些差别?Java和C++的区别Oracle JDK 和 OpenJDK 的对比基础语法数据类型Java有哪些数据类型switc...

我以为我学懂了数据结构,直到看了这个导图才发现,我错了

数据结构与算法思维导图

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

Linux 会成为主流桌面操作系统吗?

整理 |屠敏出品 | CSDN(ID:CSDNnews)2020 年 1 月 14 日,微软正式停止了 Windows 7 系统的扩展支持,这意味着服役十年的 Windows 7,属于...

讲一个程序员如何副业月赚三万的真实故事

loonggg读完需要3分钟速读仅需 1 分钟大家好,我是你们的校长。我之前讲过,这年头,只要肯动脑,肯行动,程序员凭借自己的技术,赚钱的方式还是有很多种的。仅仅靠在公司出卖自己的劳动时...

学习总结之HTML5剑指前端(建议收藏,图文并茂)

前言学习《HTML5与CSS3权威指南》这本书很不错,学完之后我颇有感触,觉得web的世界开明了许多。这本书是需要有一定基础的web前端开发工程师。这本书主要学习HTML5和css3,看...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

搜狗输入法也在挑战国人的智商!

故事总是一个接着一个到来...上周写完《鲁大师已经彻底沦为一款垃圾流氓软件!》这篇文章之后,鲁大师的市场工作人员就找到了我,希望把这篇文章删除掉。经过一番沟通我先把这篇文章从公号中删除了...

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

新一代神器STM32CubeMonitor介绍、下载、安装和使用教程

关注、星标公众号,不错过精彩内容作者:黄工公众号:strongerHuang最近ST官网悄悄新上线了一款比较强大的工具:STM32CubeMonitor V1.0.0。经过我研究和使用之...

记一次腾讯面试,我挂在了最熟悉不过的队列上……

腾讯后台面试,面试官问:如何自己实现队列?

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

冒泡排序动画(基于python pygame实现)

本项目效果初始截图如下 动画见本人b站投稿:https://www.bilibili.com/video/av95491382 本项目对应github地址:https://github.com/BigShuang python版本:3.6,pygame版本:1.9.3。(python版本一致应该就没什么问题) 样例gif如下 ======================= 大爽歌作,mad

Redis核心原理与应用实践

Redis核心原理与应用实践 在很多场景下都会使用Redis,但是到了深层次的时候就了解的不是那么深刻,以至于在面试的时候经常会遇到卡壳的现象,学习知识要做到系统和深入,不要把Redis想象的过于复杂,和Mysql一样,是个读取数据的软件。 有一个理解是Redis是key value缓存服务器,更多的优点在于对value的操作更加丰富。 安装 yum install redis #yum安装 b...

现代的 “Hello, World”,可不仅仅是几行代码而已

作者 |Charles R. Martin译者 | 弯月,责编 | 夕颜头图 |付费下载自视觉中国出品 | CSDN(ID:CSDNnews)新手...

带了6个月的徒弟当了面试官,而身为高级工程师的我天天修Bug......

即将毕业的应届毕业生一枚,现在只拿到了两家offer,但最近听到一些消息,其中一个offer,我这个组据说客户很少,很有可能整组被裁掉。 想问大家: 如果我刚入职这个组就被裁了怎么办呢? 大家都是什么时候知道自己要被裁了的? 面试软技能指导: BQ/Project/Resume 试听内容: 除了刷题,还有哪些技能是拿到offer不可或缺的要素 如何提升面试软实力:简历, 行为面试,沟通能...

!大部分程序员只会写3年代码

如果世界上都是这种不思进取的软件公司,那别说大部分程序员只会写 3 年代码,恐怕就没有程序员这种职业。

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

2020阿里全球数学大赛:3万名高手、4道题、2天2夜未交卷

阿里巴巴全球数学竞赛( Alibaba Global Mathematics Competition)由马云发起,由中国科学技术协会、阿里巴巴基金会、阿里巴巴达摩院共同举办。大赛不设报名门槛,全世界爱好数学的人都可参与,不论是否出身数学专业、是否投身数学研究。 2020年阿里巴巴达摩院邀请北京大学、剑桥大学、浙江大学等高校的顶尖数学教师组建了出题组。中科院院士、美国艺术与科学院院士、北京国际数学...

为什么你不想学习?只想玩?人是如何一步一步废掉的

不知道是不是只有我这样子,还是你们也有过类似的经历。 上学的时候总有很多光辉历史,学年名列前茅,或者单科目大佬,但是虽然慢慢地长大了,你开始懈怠了,开始废掉了。。。 什么?你说不知道具体的情况是怎么样的? 我来告诉你: 你常常潜意识里或者心理觉得,自己真正的生活或者奋斗还没有开始。总是幻想着自己还拥有大把时间,还有无限的可能,自己还能逆风翻盘,只不是自己还没开始罢了,自己以后肯定会变得特别厉害...

HTTP与HTTPS的区别

面试官问HTTP与HTTPS的区别,我这样回答让他竖起大拇指!

程序员毕业去大公司好还是小公司好?

虽然大公司并不是人人都能进,但我仍建议还未毕业的同学,尽力地通过校招向大公司挤,但凡挤进去,你这一生会容易很多。 大公司哪里好?没能进大公司怎么办?答案都在这里了,记得帮我点赞哦。 目录: 技术氛围 内部晋升与跳槽 啥也没学会,公司倒闭了? 不同的人脉圈,注定会有不同的结果 没能去大厂怎么办? 一、技术氛围 纵观整个程序员技术领域,哪个在行业有所名气的大牛,不是在大厂? 而且众所...

男生更看重女生的身材脸蛋,还是思想?

往往,我们看不进去大段大段的逻辑。深刻的哲理,往往短而精悍,一阵见血。问:产品经理挺漂亮的,有点心动,但不知道合不合得来。男生更看重女生的身材脸蛋,还是...

程序员为什么千万不要瞎努力?

本文作者用对比非常鲜明的两个开发团队的故事,讲解了敏捷开发之道 —— 如果你的团队缺乏统一标准的环境,那么即使勤劳努力,不仅会极其耗时而且成果甚微,使用...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

立即提问
相关内容推荐