天天看點

sencha app build Error: Mixed-Mode x-compile

版權聲明:本文為部落客原創文章,未經部落客允許不得轉載。 https://blog.csdn.net/inforstack/article/details/53506340

錯誤資訊

[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExBuild: Mixed-Mode x-compile and microload markup is currently unsupported
[ERR] 
[ERR] Total time: 0 seconds
[ERR] The following error occurred while executing this line:
/home/xxx/xxx/xxx/bo/src/main/webapp/client/.sencha/app/build-impl.xml:373: The following error occurred while executing this line:
/home/xxx/xxx/xxx/bo/src/main/webapp/client/.sencha/app/init-impl.xml:258: com.sencha.exceptions.ExBuild: Mixed-Mode x-compile and microload markup is currently unsupported
           

解決方法

如果你的index.html中使用了标簽,切記加上結束标簽,如下代碼:      
<!-- <x-compile> -->
    <!-- <x-bootstrap> -->
        <link rel="stylesheet" href="bootstrap.css">
        <script src="ext/ext-all.js"></script>
        <script src="bootstrap.js"></script>
    <!-- </x-bootstrap> -->
    <script src="app.js"></script>
<!-- </x-compile> -->           

參考位址

點選打開連結          
點選打開連結          
點選打開連結          
點選打開連結          

繼續閱讀