编译Qt应用程序的时候出现如下错误,哪位高手给解答一下? 编译器是arm-linux-gcc 4.5.1,qt版本是4.7.0

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了编译Qt应用程序的时候出现如下错误,哪位高手给解答一下? 编译器是arm-linux-gcc 4.5.1,qt版本是4.7.0相关的知识,希望对你有一定的参考价值。

dialogcreatespetimeperiod.cpp: In member function 'QStringList DialogCreateSpeTimePeriod::findidlist(int)':
dialogcreatespetimeperiod.cpp:171:1: warning: control reaches end of non-void function
standard input: Assembler messages:
standard input:21282: Warning: partial line at end of file ignored
standard input:21282: Error: open CFI at the end of file; missing .cfi_endproc directive
arm-linux-g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <http://www.arm9.net/> for instructions.
make: *** [dialogcreatespetimeperiod.o] 错误 1

参考技术A 你的编译器有问题,内部错误。
这是 gcc 编译器自己工作不正常。
去找给你这个编译器的人问问怎么回事吧。
参考技术B 找友善,这个应该是友善的gcc包吧See <http://www.arm9.net/> for instructions.

spring-boot跟整合mapper出现如下错误,盼望高手解答

2017-12-24 17:42:09,615:WARN main (AbstractApplicationContext.java:551) - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userController': Unsatisfied dependency expressed through field 'userService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userServiceImpl': Unsatisfied dependency expressed through field 'userMapper'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.yichao.yichaoadmin.mapper.user.UserMapper' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: @org.springframework.beans.factory.annotation.Autowired(required=true)
2017-12-24 17:42:09,616:WARN main (DisposableBeanAdapter.java:374) - Invocation of destroy method 'close' failed on bean with name 'sqlSessionTemplate': java.lang.UnsupportedOperationException: Manual close is not allowed over a Spring managed SqlSession
2017-12-24 17:42:09,618:INFO main (DirectJDKLog.java:179) - Stopping service [Tomcat]
2017-12-24 17:42:09,637:INFO main (AutoConfigurationReportLoggingInitializer.java:101) -

Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2017-12-24 17:42:09,711:ERROR main (LoggingFailureAnalysisReporter.java:42) -

***************************
APPLICATION FAILED TO START
***************************

Description:

Field userMapper in com.yichao.yichaoadmin.service.user.impl.UserServiceImpl required a bean of type 'com.yichao.yichaoadmin.mapper.user.UserMapper' that could not be found.

Action:

Consider defining a bean of type 'com.yichao.yichaoadmin.mapper.user.UserMapper' in your configuration.

Disconnected from the target VM, address: '127.0.0.1:61973', transport: 'socket'

参考技术A mybatis没有配置对,没有正常注入mapper的bean 参考技术B

主要是这句异常:No qualifying bean of type 'com.yichao.yichaoadmin.mapper.user.UserMapper'

    mapper注入有误,就是在业务逻辑层的注入有问题

    mapper没有被spring管理起来,看看是否被扫描到了

以上是关于编译Qt应用程序的时候出现如下错误,哪位高手给解答一下? 编译器是arm-linux-gcc 4.5.1,qt版本是4.7.0的主要内容,如果未能解决你的问题,请参考以下文章

C#读Excel的问题,总是出现如下错误,是啥原因,求高手解答

qt 编译时出错,请高手指教。

spring-boot跟整合mapper出现如下错误,盼望高手解答

Qt creator运行出现moc文件错误求大神解答

在vs2010编译qt程序时就会出现错误无法打开文件"Qt5Cored.lib"

linux下 用qt creator 编译程序 提示错误,请高手指导