HTTP Status 500 - Unable to compile class for JSP:Syntax error on token "=", @ expected

本文介绍了一种在JSP页面中使用动态内容时出现的常见语法错误:HTTPStatus500-UnabletocompileclassforJSP:Syntaxerrorontoken“=”,并给出了具体的解决办法。问题源于百分号和等号之间的空格,去除该空格即可解决问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

jsp页面中使用<% = com.xunge.base.constant.PlatInfo.title %>取静态字段的值,报HTTP Status 500 - Unable to compile class for JSP:Syntax error on token “=”, @ expected错误。
详细错误信息如下:
这里写图片描述
在网上搜索了很久也没找到解决方法,后来发现是因为“<% =”百分号和等号之间多了一个空格的原因,去掉就OK了。

error in ./src/components/Container.vue?vue&type=script&lang=js Module not found: Error: [CaseSensitivePathsPlugin] `C:\Users\14949\caovue\src\components\nav.vue` does not match the corresponding path on disk `Nav.vue`. ERROR in ./src/components/Container.vue?vue&type=script&lang=js (./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Container.vue?vue&type=script&lang=js) 1:0-28 Module not found: Error: [CaseSensitivePathsPlugin] `C:\Users\14949\caovue\src\components\nav.vue` does not match the corresponding path on disk `Nav.vue`. @ ./src/components/Container.vue?vue&type=script&lang=js 1:0-202 1:218-221 1:223-422 1:223-422 @ ./src/components/Container.vue 2:0-60 3:0-55 3:0-55 10:2-8 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/App.vue?vue&type=script&lang=js 4:0-51 12:4-13 @ ./src/App.vue?vue&type=script&lang=js 1:0-190 1:206-209 1:211-398 1:211-398 @ ./src/App.vue 2:0-54 3:0-49 3:0-49 10:2-8 @ ./src/main.js 2:0-28 11:17-20 webpack compiled with 1 error WAIT Compiling... 16:57:24 Compiling... DONE Compiled successfully in 314ms 16:57:25 App running at: - Local: http://localhost:8080/ - Network: http://192.168.164.19:8080/ WAIT Compiling... 16:57:27 Compiling... DONE Compiled successfully in 453ms 16:57:28 App running at: - Local: http://localhost:8080/ - Network: http://192.168.164.19:8080/ WAIT Compiling... 16:57:31 Compiling... DONE Compiled successfully in 366ms 16:57:31 App running at: - Local: http://localhost:8080/ - Network: http://192.168.164.19:8080/ WAIT Compiling... 16:57:33 Compiling... DONE Compiled successfully in 265ms 16:57:33 App running at: - Local: http://localhost:8080/ - Network: http://192.168.164.19:8080/ WAIT Compiling... 16:57:39 Compiling... DONE Compiled successfully in 280ms 16:57:39 App running at: - Local: http://localhost:8080/ - Network: http://192.168.164.19:8080/ * 还原的历史记录 PS C:\Users\14949\caovue> npm run serve > caovue@0.1.0 serve > vue-cli-service serve INFO Starting development server... ERROR Failed to compile with 1 error 14:24:19 error in ./src/App.vue?vue&type=script&lang=js Module not found: Error: Can't resolve './components/SchoolO.vue' in 'C:\Users\14949\caovue\src' ERROR in ./src/App.vue?vue&type=script&lang=js (./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/App.vue?vue&type=script&lang=js) 3:0-46 Module not found: Error: Can't resolve './components/SchoolO.vue' in 'C:\Users\14949\caovue\src' @ ./src/App.vue?vue&type=script&lang=js 1:0-190 1:206-209 1:211-398 1:211-398 @ ./src/App.vue 2:0-54 3:0-49 3:0-49 10:2-8 @ ./src/main.js 2:0-28 5:17-20 webpack compiled with 1 error WAIT Compiling... 14:24:20 Compiling... ERROR Failed to compile with 1 error 14:24:20 error in ./src/App.vue?vue&type=script&lang=js Module not found: Error: Can't resolve './components/SchoolO.vue' in 'C:\Users\14949\caovue\src' ERROR in ./src/App.vue?vue&type=script&lang=js (./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/App.vue?vue&type=script&lang=js) 3:0-46 Module not found: Error: Can't resolve './components/SchoolO.vue' in 'C:\Users\14949\caovue\src' @ ./src/App.vue?vue&type=script&lang=js 1:0-190 1:206-209 1:211-398 1:211-398 @ ./src/App.vue 2:0-54 3:0-49 3:0-49 10:2-8 @ ./src/main.js 2:0-28 5:17-20 webpack compiled with 1 error PS C:\Users\14949\caovue> npm run serve > caovue@0.1.0 serve > vue-cli-service serve INFO Starting development server... ERROR Failed to compile with 1 error 14:56:01 error in ./src/components/tu.vue?vue&type=script&lang=js Module not found: Error: Can't resolve '@/assets/520images/疯狂动物城.jpg' in 'C:\Users\14949\caovue\src\components' ERROR in ./src/components/tu.vue?vue&type=script&lang=js (./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/tu.vue?vue&type=script&lang=js) 11:13-52 Module not found: Error: Can't resolve '@/assets/520images/疯狂动物城.jpg' in 'C:\Users\14949\caovue\src\components' @ ./src/components/tu.vue?vue&type=script&lang=js 1:0-195 1:211-214 1:216-408 1:216-408 @ ./src/components/tu.vue 2:0-53 3:0-48 3:0-48 10:2-8 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Button.vue?vue&type=script&lang=js 1:0-26 @ ./src/components/Button.vue?vue&type=script&lang=js 1:0-199 1:215-218 1:220-416 1:220-416 @ ./src/components/Button.vue 2:0-57 3:0-52 3:0-52 10:2-8 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/App.vue?vue&type=script&lang=js 3:0-45 10:4-10 @ ./src/App.vue?vue&type=script&lang=js 1:0-190 1:206-209 1:211-398 1:211-398 @ ./src/App.vue 2:0-54 3:0-49 3:0-49 10:2-8 @ ./src/main.js 2:0-28 11:17-20 webpack compiled with 1 error WAIT Compiling... 14:56:01 Compiling... ERROR Failed to compile with 1 error 14:56:02 error in ./src/components/Button.vue?vue&type=script&lang=js Syntax Error: C:\Users\14949\caovue\src\components\Button.vue: Missing semicolon. (21:3) 19 | } 20 | } > 21 | }, | ^ 22 | components: { 23 | tu 24 | } at parser.next (<anonymous>) at normalizeFile.next (<anonymous>) at run.next (<anonymous>) at transform.next (<anonymous>) ERROR in ./src/components/Button.vue?vue&type=script&lang=js (./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Button.vue?vue&type=script&lang=js) Module build failed (from ./node_modules/babel-loader/lib/index.js): SyntaxError: C:\Users\14949\caovue\src\components\Button.vue: Missing semicolon. (21:3) 19 | } 20 | } > 21 | }, | ^ 22 | components: { 23 | tu 24 | } at constructor (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:363:19) at JSXParserMixin.raise (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:6609:19) at JSXParserMixin.semicolon (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:6906:10) at JSXParserMixin.parseExportDefaultExpression (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:13841:10) at JSXParserMixin.parseExport (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:13743:25) at JSXParserMixin.parseStatementContent (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:12797:27) at JSXParserMixin.parseStatementLike (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:12685:17) at JSXParserMixin.parseModuleItem (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:12662:17) at JSXParserMixin.parseBlockOrModuleBlockBody (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:13235:36) at JSXParserMixin.parseBlockBody (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:13228:10) at JSXParserMixin.parseProgram (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:12541:10) at JSXParserMixin.parseTopLevel (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:12531:25) at JSXParserMixin.parse (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:14410:10) at parse (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:14423:26) at parser (C:\Users\14949\caovue\node_modules\@babel\core\lib\parser\index.js:41:34) at parser.next (<anonymous>) at normalizeFile (C:\Users\14949\caovue\node_modules\@babel\core\lib\transformation\normalize-file.js:64:37) at normalizeFile.next (<anonymous>) at run (C:\Users\14949\caovue\node_modules\@babel\core\lib\transformation\index.js:22:50) at run.next (<anonymous>) at transform (C:\Users\14949\caovue\node_modules\@babel\core\lib\transform.js:22:33) at transform.next (<anonymous>) at step (C:\Users\14949\caovue\node_modules\gensync\index.js:261:32) at C:\Users\14949\caovue\node_modules\gensync\index.js:273:13 at async.call.result.err.err (C:\Users\14949\caovue\node_modules\gensync\index.js:223:11) @ ./src/components/Button.vue?vue&type=script&lang=js 1:0-199 1:215-218 1:220-416 1:220-416 @ ./src/components/Button.vue 2:0-57 3:0-52 3:0-52 10:2-8 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/App.vue?vue&type=script&lang=js 3:0-45 10:4-10 @ ./src/App.vue?vue&type=script&lang=js 1:0-190 1:206-209 1:211-398 1:211-398 @ ./src/App.vue 2:0-54 3:0-49 3:0-49 10:2-8 @ ./src/main.js 2:0-28 11:17-20 webpack compiled with 1 error WAIT Compiling... 14:56:19 Compiling... ERROR Failed to compile with 1 error 14:56:19 error in ./src/components/Button.vue?vue&type=script&lang=js Syntax Error: C:\Users\14949\caovue\src\components\Button.vue: Unexpected token, expected "," (21:4) 19 | } 20 | } > 21 | components: { | ^ 22 | tu 23 | } 24 | }, at parser.next (<anonymous>) at normalizeFile.next (<anonymous>) at run.next (<anonymous>) at transform.next (<anonymous>) ERROR in ./src/components/Button.vue?vue&type=script&lang=js (./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Button.vue?vue&type=script&lang=js) Module build failed (from ./node_modules/babel-loader/lib/index.js): SyntaxError: C:\Users\14949\caovue\src\components\Button.vue: Unexpected token, expected "," (21:4) 19 | } 20 | } > 21 | components: { | ^ 22 | tu 23 | } 24 | }, at constructor (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:363:19) at JSXParserMixin.raise (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:6609:19) at JSXParserMixin.unexpected (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:6629:16) at JSXParserMixin.expect (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:6910:12) at JSXParserMixin.parseObjectLike (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:11755:14) at JSXParserMixin.parseExprAtom (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:11270:23) at JSXParserMixin.parseExprAtom (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:4776:20) at JSXParserMixin.parseExprSubscripts (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:11012:23) at JSXParserMixin.parseUpdate (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:10997:21) at JSXParserMixin.parseMaybeUnary (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:10977:23) at JSXParserMixin.parseMaybeUnaryOrPrivate (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:10830:61) at JSXParserMixin.parseExprOps (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:10835:23) at JSXParserMixin.parseMaybeConditional (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:10812:23) at JSXParserMixin.parseMaybeAssign (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:10765:21) at C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:10734:39 at JSXParserMixin.allowInAnd (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:12356:16) at JSXParserMixin.parseMaybeAssignAllowIn (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:10734:17) at JSXParserMixin.parseExportDefaultExpression (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:13840:22) at JSXParserMixin.parseExport (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:13743:25) at JSXParserMixin.parseStatementContent (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:12797:27) at JSXParserMixin.parseStatementLike (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:12685:17) at JSXParserMixin.parseModuleItem (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:12662:17) at JSXParserMixin.parseBlockOrModuleBlockBody (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:13235:36) at JSXParserMixin.parseBlockBody (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:13228:10) at JSXParserMixin.parseProgram (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:12541:10) at JSXParserMixin.parseTopLevel (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:12531:25) at JSXParserMixin.parse (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:14410:10) at parse (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:14423:26) at parser (C:\Users\14949\caovue\node_modules\@babel\core\lib\parser\index.js:41:34) at parser.next (<anonymous>) at normalizeFile (C:\Users\14949\caovue\node_modules\@babel\core\lib\transformation\normalize-file.js:64:37) at normalizeFile.next (<anonymous>) at run (C:\Users\14949\caovue\node_modules\@babel\core\lib\transformation\index.js:22:50) at run.next (<anonymous>) at transform (C:\Users\14949\caovue\node_modules\@babel\core\lib\transform.js:22:33) at transform.next (<anonymous>) at step (C:\Users\14949\caovue\node_modules\gensync\index.js:261:32) at C:\Users\14949\caovue\node_modules\gensync\index.js:273:13 at async.call.result.err.err (C:\Users\14949\caovue\node_modules\gensync\index.js:223:11) @ ./src/components/Button.vue?vue&type=script&lang=js 1:0-199 1:215-218 1:220-416 1:220-416 @ ./src/components/Button.vue 2:0-57 3:0-52 3:0-52 10:2-8 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/App.vue?vue&type=script&lang=js 3:0-45 10:4-10 @ ./src/App.vue?vue&type=script&lang=js 1:0-190 1:206-209 1:211-398 1:211-398 @ ./src/App.vue 2:0-54 3:0-49 3:0-49 10:2-8 @ ./src/main.js 2:0-28 11:17-20 webpack compiled with 1 error WAIT Compiling... 14:56:20 Compiling... ERROR Failed to compile with 1 error 14:56:21 error in ./src/components/Button.vue?vue&type=script&lang=js Syntax Error: C:\Users\14949\caovue\src\components\Button.vue: Unexpected token, expected "," (21:4) 19 | } 20 | } > 21 | components: { | ^ 22 | tu 23 | } 24 | } at parser.next (<anonymous>) at normalizeFile.next (<anonymous>) at run.next (<anonymous>) at transform.next (<anonymous>) ERROR in ./src/components/Button.vue?vue&type=script&lang=js (./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Button.vue?vue&type=script&lang=js) Module build failed (from ./node_modules/babel-loader/lib/index.js): SyntaxError: C:\Users\14949\caovue\src\components\Button.vue: Unexpected token, expected "," (21:4) 19 | } 20 | } > 21 | components: { | ^ 22 | tu 23 | } 24 | } at constructor (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:363:19) at JSXParserMixin.raise (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:6609:19) at JSXParserMixin.unexpected (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:6629:16) at JSXParserMixin.expect (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:6910:12) at JSXParserMixin.parseObjectLike (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:11755:14) at JSXParserMixin.parseExprAtom (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:11270:23) at JSXParserMixin.parseExprAtom (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:4776:20) at JSXParserMixin.parseExprSubscripts (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:11012:23) at JSXParserMixin.parseUpdate (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:10997:21) at JSXParserMixin.parseMaybeUnary (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:10977:23) at JSXParserMixin.parseMaybeUnaryOrPrivate (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:10830:61) at JSXParserMixin.parseExprOps (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:10835:23) at JSXParserMixin.parseMaybeConditional (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:10812:23) at JSXParserMixin.parseMaybeAssign (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:10765:21) at C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:10734:39 at JSXParserMixin.allowInAnd (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:12356:16) at JSXParserMixin.parseMaybeAssignAllowIn (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:10734:17) at JSXParserMixin.parseExportDefaultExpression (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:13840:22) at JSXParserMixin.parseExport (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:13743:25) at JSXParserMixin.parseStatementContent (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:12797:27) at JSXParserMixin.parseStatementLike (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:12685:17) at JSXParserMixin.parseModuleItem (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:12662:17) at JSXParserMixin.parseBlockOrModuleBlockBody (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:13235:36) at JSXParserMixin.parseBlockBody (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:13228:10) at JSXParserMixin.parseProgram (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:12541:10) at JSXParserMixin.parseTopLevel (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:12531:25) at JSXParserMixin.parse (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:14410:10) at parse (C:\Users\14949\caovue\node_modules\@babel\parser\lib\index.js:14423:26) at parser (C:\Users\14949\caovue\node_modules\@babel\core\lib\parser\index.js:41:34) at parser.next (<anonymous>) at normalizeFile (C:\Users\14949\caovue\node_modules\@babel\core\lib\transformation\normalize-file.js:64:37) at normalizeFile.next (<anonymous>) at run (C:\Users\14949\caovue\node_modules\@babel\core\lib\transformation\index.js:22:50) at run.next (<anonymous>) at transform (C:\Users\14949\caovue\node_modules\@babel\core\lib\transform.js:22:33) at transform.next (<anonymous>) at step (C:\Users\14949\caovue\node_modules\gensync\index.js:261:32) at C:\Users\14949\caovue\node_modules\gensync\index.js:273:13 at async.call.result.err.err (C:\Users\14949\caovue\node_modules\gensync\index.js:223:11) @ ./src/components/Button.vue?vue&type=script&lang=js 1:0-199 1:215-218 1:220-416 1:220-416 @ ./src/components/Button.vue 2:0-57 3:0-52 3:0-52 10:2-8 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/App.vue?vue&type=script&lang=js 3:0-45 10:4-10 @ ./src/App.vue?vue&type=script&lang=js 1:0-190 1:206-209 1:211-398 1:211-398 @ ./src/App.vue 2:0-54 3:0-49 3:0-49 10:2-8 @ ./src/main.js 2:0-28 11:17-20 webpack compiled with 1 error WAIT Compiling... 14:56:23 Compiling... ERROR Failed to compile with 1 error 14:56:23 error in ./src/components/tu.vue?vue&type=script&lang=js Module not found: Error: Can't resolve '@/assets/520images/疯狂动物城.jpg' in 'C:\Users\14949\caovue\src\components' ERROR in ./src/components/tu.vue?vue&type=script&lang=js (./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/tu.vue?vue&type=script&lang=js) 11:13-52 Module not found: Error: Can't resolve '@/assets/520images/疯狂动物城.jpg' in 'C:\Users\14949\caovue\src\components' @ ./src/components/tu.vue?vue&type=script&lang=js 1:0-195 1:211-214 1:216-408 1:216-408 @ ./src/components/tu.vue 2:0-53 3:0-48 3:0-48 10:2-8 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Button.vue?vue&type=script&lang=js 1:0-26 21:4-6 @ ./src/components/Button.vue?vue&type=script&lang=js 1:0-199 1:215-218 1:220-416 1:220-416 @ ./src/components/Button.vue 2:0-57 3:0-52 3:0-52 10:2-8 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/App.vue?vue&type=script&lang=js 3:0-45 10:4-10 @ ./src/App.vue?vue&type=script&lang=js 1:0-190 1:206-209 1:211-398 1:211-398 @ ./src/App.vue 2:0-54 3:0-49 3:0-49 10:2-8 @ ./src/main.js 2:0-28 11:17-20 webpack compiled with 1 error WAIT Compiling... 14:56:27 Compiling... ERROR Failed to compile with 1 error 14:56:27 error in ./src/components/tu.vue?vue&type=script&lang=js Module not found: Error: Can't resolve '@/assets/520images/疯狂动物城.jpg' in 'C:\Users\14949\caovue\src\components' ERROR in ./src/components/tu.vue?vue&type=script&lang=js (./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/tu.vue?vue&type=script&lang=js) 11:13-52 Module not found: Error: Can't resolve '@/assets/520images/疯狂动物城.jpg' in 'C:\Users\14949\caovue\src\components' @ ./src/components/tu.vue?vue&type=script&lang=js 1:0-195 1:211-214 1:216-408 1:216-408 @ ./src/components/tu.vue 2:0-53 3:0-48 3:0-48 10:2-8 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Button.vue?vue&type=script&lang=js 1:0-26 21:4-6 @ ./src/components/Button.vue?vue&type=script&lang=js 1:0-199 1:215-218 1:220-416 1:220-416 @ ./src/components/Button.vue 2:0-57 3:0-52 3:0-52 10:2-8 @ ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/App.vue?vue&type=script&lang=js 3:0-45 10:4-10 @ ./src/App.vue?vue&type=script&lang=js 1:0-190 1:206-209 1:211-398 1:211-398 @ ./src/App.vue 2:0-54 3:0-49 3:0-49 10:2-8 @ ./src/main.js 2:0-28 11:17-20 webpack compiled with 1 error
06-27
bitbake --help usage: bitbake [-s] [-e] [-g] [-u UI] [--version] [-h] [-f] [-c CMD] [-C INVALIDATE_STAMP] [--runall RUNALL] [--runonly RUNONLY] [--no-setscene] [--skip-setscene] [--setscene-only] [-n] [-p] [-k] [-P] [-S SIGNATURE_HANDLER] [--revisions-changed] [-b BUILDFILE] [-D] [-l DEBUG_DOMAINS] [-v] [-q] [-w WRITEEVENTLOG] [-B BIND] [-T SERVER_TIMEOUT] [--remote-server REMOTE_SERVER] [-m] [--token XMLRPCTOKEN] [--observe-only] [--status-only] [--server-only] [-r PREFILE] [-R POSTFILE] [-I EXTRA_ASSUME_PROVIDED] [recipename/target [recipename/target ...]] It is assumed there is a conf/bblayers.conf available in cwd or in BBPATH which will provide the layer, BBFILES and other configuration information. General options: recipename/target Execute the specified task (default is 'build') for these target recipes (.bb files). -s, --show-versions Show current and preferred versions of all recipes. -e, --environment Show the global or per-recipe environment complete with information about where variables were set/changed. -g, --graphviz Save dependency tree information for the specified targets in the dot syntax. -u UI, --ui UI The user interface to use (knotty, ncurses, taskexp, taskexp_ncurses or teamcity - default knotty). --version Show programs version and exit. -h, --help Show this help message and exit. Task control options: -f, --force Force the specified targets/task to run (invalidating any existing stamp file). -c CMD, --cmd CMD Specify the task to execute. The exact options available depend on the metadata. Some examples might be 'compile' or 'populate_sysroot' or 'listtasks' may give a list of the tasks available. -C INVALIDATE_STAMP, --clear-stamp INVALIDATE_STAMP Invalidate the stamp for the specified task such as 'compile' and then run the default task for the specified target(s). --runall RUNALL Run the specified task for any recipe in the taskgraph of the specified target (even if it wouldn't otherwise have run). --runonly RUNONLY Run only the specified task within the taskgraph of the specified targets (and any task dependencies those tasks may have). --no-setscene Do not run any setscene tasks. sstate will be ignored and everything needed, built. --skip-setscene Skip setscene tasks if they would be executed. Tasks previously restored from sstate will be kept, unlike --no-setscene. --setscene-only Only run setscene tasks, don't run any real tasks. Execution control options: -n, --dry-run Don't execute, just go through the motions. -p, --parse-only Quit after parsing the BB recipes. -k, --continue Continue as much as possible after an error. While the target that failed and anything depending on it cannot be built, as much as possible will be built before stopping. -P, --profile Profile the command and save reports. -S SIGNATURE_HANDLER, --dump-signatures SIGNATURE_HANDLER Dump out the signature construction information, with no task execution. The SIGNATURE_HANDLER parameter is passed to the handler. Two common values are none and printdiff but the handler may define more/less. none means only dump the signature, printdiff means recursively compare the dumped signature with the most recent one in a local build or sstate cache (can be used to find out why tasks re-run when that is not expected) --revisions-changed Set the exit code depending on whether upstream floating revisions have changed or not. -b BUILDFILE, --buildfile BUILDFILE Execute tasks from a specific .bb recipe directly. WARNING: Does not handle any dependencies from other recipes. Logging/output control options: -D, --debug Increase the debug level. You can specify this more than once. -D sets the debug level to 1, where only bb.debug(1, ...) messages are printed to stdout; -DD sets the debug level to 2, where both bb.debug(1, ...) and bb.debug(2, ...) messages are printed; etc. Without -D, no debug messages are printed. Note that -D only affects output to stdout. All debug messages are written to ${T}/log.do_taskname, regardless of the debug level. -l DEBUG_DOMAINS, --log-domains DEBUG_DOMAINS Show debug logging for the specified logging domains. -v, --verbose Enable tracing of shell tasks (with 'set -x'). Also print bb.note(...) messages to stdout (in addition to writing them to ${T}/log.do_<task>). -q, --quiet Output less log message data to the terminal. You can specify this more than once. -w WRITEEVENTLOG, --write-log WRITEEVENTLOG Writes the event log of the build to a bitbake event json file. Use '' (empty string) to assign the name automatically. Server options: -B BIND, --bind BIND The name/address for the bitbake xmlrpc server to bind to. -T SERVER_TIMEOUT, --idle-timeout SERVER_TIMEOUT Set timeout to unload bitbake server due to inactivity, set to -1 means no unload, default: Environment variable BB_SERVER_TIMEOUT. --remote-server REMOTE_SERVER Connect to the specified server. -m, --kill-server Terminate any running bitbake server. --token XMLRPCTOKEN Specify the connection token to be used when connecting to a remote server. --observe-only Connect to a server as an observing-only client. --status-only Check the status of the remote bitbake server. --server-only Run bitbake without a UI, only starting a server (cooker) process. Configuration options: -r PREFILE, --read PREFILE Read the specified file before bitbake.conf. -R POSTFILE, --postread POSTFILE Read the specified file after bitbake.conf. -I EXTRA_ASSUME_PROVIDED, --ignore-deps EXTRA_ASSUME_PROVIDED Assume these dependencies don't exist and are already provided (equivalent to ASSUME_PROVIDED). Useful to make dependency graphs more appealing.
最新发布
07-29
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值