weblogic12c,上传文件为null

struts2用的servlet2.5,但是weblogic12c是3.0,如何解决文件上传是null,因为项目后期要使用Jdk1.7,麻烦大虾指点

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
weblogic12c使用struts2上传文件失败

使用struts2开发的文件上传功能,在Tomcat6、7以及weblogic10中使用都正常,但是在weblogic12c中部署时无法在后台获取到表单中的内容。 前台表单如下: <form id="file_upload_form" method="post" enctype="multipart/form-data" action="systemmanage/videoMng_uploadFile.action"> <table width="100%"> <tr> <td>上传文件</td> <td> <input type="file" name="form.uploadfile" id="uploadFile"/> <input type="hidden" name="form.tree_node_id" value="<%=rowid %>"> </td> </tr> </table> </form> 问题表现: 在后台使用request.getParameter("form.uploadfile")获取的内容为null

WebLogic12c JDK1.8 从tomcat迁移的问题

报的错误完全摸不到头脑,哪位大神帮忙看看,jar包全部清理了一遍,也加了weblogic.xml ``` ####<2016-2-25 下午03时30分31秒 CST> <Error> <com.oracle.pitchfork.inject.Jsr250Metadata> <DADI> <AdminServer> <[ACTIVE] ExecuteThread: '29' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <f1e8e4c0-6b8f-47d2-91d4-1e793e539693-00000008> <1456385431058> <[severity-value: 8] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-000000> <Cannot find JNDI binding for 'java:comp/env/com.sunking.modules.webservice.EvalResultWebServiceImpl/forcastDaoImpl', Call to NamingManager.getObjectInstance() failed: > ####<2016-2-25 下午03时30分31秒 CST> <Error> <weblogic.wsee.jaxws.injection.WSEEComponentContributor> <DADI> <AdminServer> <[ACTIVE] ExecuteThread: '29' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <f1e8e4c0-6b8f-47d2-91d4-1e793e539693-00000008> <1456385431058> <[severity-value: 8] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-000000> <Error creating bean with name 'com.sunking.modules.webservice.EvalResultWebServiceImpl': Initialization of bean failed; nested exception is com.bea.core.repackaged.springframework.beans.factory.BeanCreationException: Dependency injection failure: can't find the bean definition about class interface com.sunking.modules.dao.ForcastDao; nested exception is com.bea.core.repackaged.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.sunking.modules.dao.ForcastDao] is defined: No beans of type com.sunking.modules.dao.ForcastDao; owner=com.oracle.pitchfork.inject.PitchforkGenericApplicationContext@2b106039: display name [com.oracle.pitchfork.inject.PitchforkGenericApplicationContext@2b106039]; startup date [Thu Feb 25 15:30:30 CST 2016]; parent: com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@45fa1e47; nested exception is com.bea.core.repackaged.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'com.sunking.modules.webservice.EvalResultWebServiceImpl/forcastDaoImpl' is defined; nested exception is javax.naming.ConfigurationException: Call to NamingManager.getObjectInstance() failed: [Root exception is java.lang.NullPointerException]; remaining name '' java.lang.InstantiationException: Error creating bean with name 'com.sunking.modules.webservice.EvalResultWebServiceImpl': Initialization of bean failed; nested exception is com.bea.core.repackaged.springframework.beans.factory.BeanCreationException: Dependency injection failure: can't find the bean definition about class interface com.sunking.modules.dao.ForcastDao; nested exception is com.bea.core.repackaged.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.sunking.modules.dao.ForcastDao] is defined: No beans of type com.sunking.modules.dao.ForcastDao; owner=com.oracle.pitchfork.inject.PitchforkGenericApplicationContext@2b106039: display name [com.oracle.pitchfork.inject.PitchforkGenericApplicationContext@2b106039]; startup date [Thu Feb 25 15:30:30 CST 2016]; parent: com.bea.core.repackaged.springframework.context.support.GenericApplicationContext@45fa1e47; nested exception is com.bea.core.repackaged.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'com.sunking.modules.webservice.EvalResultWebServiceImpl/forcastDaoImpl' is defined; nested exception is javax.naming.ConfigurationException: Call to NamingManager.getObjectInstance() failed: [Root exception is java.lang.NullPointerException]; remaining name '' at com.oracle.pitchfork.spi.WSEEComponentContributorBrokerImpl.getBean(WSEEComponentContributorBrokerImpl.java:45) at weblogic.wsee.jaxws.injection.WSEEComponentContributor.loadUsingSpring(WSEEComponentContributor.java:72) at weblogic.wsee.jaxws.injection.WSEEComponentContributor.newInstance(WSEEComponentContributor.java:49) at weblogic.wsee.jaxws.injection.WSEEComponentContributor.newInstance(WSEEComponentContributor.java:43) …………………… ```

项目迁移升级到jdk1.8,tomcat8下可以运行,weblogic12c下报错?

原项目开发环境jdk1.6,tomcat6,在weblogic10下可正常运行 后升级jdk1.8及tomcat8下可运行,在weblogic12c下运行报错,修改weblogic.xml增加如下 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD WebApplication 8.1//EN""http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd"> prefer-web-inf-classes为true依旧报错 报错信息如下 ####<2019-8-12 上午10时36分16,332秒 CST> <Info> <CONCURRENCY> <WIN-D7SVFCSSTIA> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <df5ed606-8b52-4ff5-9429-76ca73cbe1fa-00000009> <1565577376332> <[severity-value: 64] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-2162600> <Creating ManagedThreadFactory "DefaultManagedThreadFactory" (partition="DOMAIN", module="null", application="defaultCoherenceCluster")> ####<2019-8-12 上午10时36分16,332秒 CST> <Info> <CONCURRENCY> <WIN-D7SVFCSSTIA> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <df5ed606-8b52-4ff5-9429-76ca73cbe1fa-00000009> <1565577376332> <[severity-value: 64] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-2162610> <Creating ManagedExecutorService "DefaultManagedExecutorService" (partition="DOMAIN", module="null", application="defaultCoherenceCluster", workmanager="default")> ####<2019-8-12 上午10时36分16,332秒 CST> <Info> <CONCURRENCY> <WIN-D7SVFCSSTIA> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <df5ed606-8b52-4ff5-9429-76ca73cbe1fa-00000009> <1565577376332> <[severity-value: 64] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-2162611> <Creating ManagedScheduledExecutorService "DefaultManagedScheduledExecutorService" (partition="DOMAIN", module="null", application="defaultCoherenceCluster", workmanager="default")> ####<2019-8-12 上午10时36分16,456秒 CST> <Info> <WebLogicServer> <WIN-D7SVFCSSTIA> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <df5ed606-8b52-4ff5-9429-76ca73cbe1fa-00000009> <1565577376456> <[severity-value: 64] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-000256> <Invoking weblogic.transaction.internal.StartupClass.main(null)> ####<2019-8-12 上午10时36分16,645秒 CST> <Info> <Deployer> <WIN-D7SVFCSSTIA> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <df5ed606-8b52-4ff5-9429-76ca73cbe1fa-00000009> <1565577376645> <[severity-value: 64] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-149059> <Module lmszs of application lmszs is transitioning from STATE_PREPARED to STATE_ADMIN on server AdminServer.> ####<2019-8-12 上午10时36分16,722秒 CST> <Info> <Deployer> <WIN-D7SVFCSSTIA> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <df5ed606-8b52-4ff5-9429-76ca73cbe1fa-00000009> <1565577376722> <[severity-value: 64] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-149060> <Module lmszs of application lmszs successfully transitioned from STATE_PREPARED to STATE_ADMIN on server AdminServer.> ####<2019-8-12 上午10时36分20,832秒 CST> <Info> <ServletContext-/PosService> <WIN-D7SVFCSSTIA> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <df5ed606-8b52-4ff5-9429-76ca73cbe1fa-00000009> <1565577380832> <[severity-value: 64] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-000000> <Set web app root system property: 'lms.root' = [C:\lmszs\]> ####<2019-8-12 上午10时36分20,847秒 CST> <Info> <ServletContext-/PosService> <WIN-D7SVFCSSTIA> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <df5ed606-8b52-4ff5-9429-76ca73cbe1fa-00000009> <1565577380847> <[severity-value: 64] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-000000> <Initializing Spring root WebApplicationContext> ####<2019-8-12 上午10时36分22,956秒 CST> <Warning> <HTTP> <WIN-D7SVFCSSTIA> <AdminServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <df5ed606-8b52-4ff5-9429-76ca73cbe1fa-00000009> <1565577382956> <[severity-value: 16] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [C:\lmszs\WEB-INF\classes\spring\applicationContext-datasource.xml]; nested exception is java.lang.LinkageError: loader constraint violation: when resolving method "javax.xml.parsers.DocumentBuilder.setEntityResolver(Lorg/xml/sax/EntityResolver;)V" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, org/springframework/beans/factory/xml/DefaultDocumentLoader, and the class loader (instance of <bootloader>) for the method's defining class, javax/xml/parsers/DocumentBuilder, have different Class objects for the type org/xml/sax/EntityResolver used in the signature. org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [C:\lmszs\WEB-INF\classes\spring\applicationContext-datasource.xml]; nested exception is java.lang.LinkageError: loader constraint violation: when resolving method "javax.xml.parsers.DocumentBuilder.setEntityResolver(Lorg/xml/sax/EntityResolver;)V" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, org/springframework/beans/factory/xml/DefaultDocumentLoader, and the class loader (instance of <bootloader>) for the method's defining class, javax/xml/parsers/DocumentBuilder, have different Class objects for the type org/xml/sax/EntityResolver used in the signature at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:414) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:181) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:217) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:188) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:609) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:510) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:705) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326) at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197) at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203) at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71) at weblogic.servlet.internal.EventsManager.executeContextListener(EventsManager.java:251) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:204) 请weblogic大神指点迷津,困扰好久了

weblogic 12c 启动立即报错,我找不原因,请各位大神多多指点

``` <2016-11-2 下午07时22分30秒 CST> <Info> <Security> <BEA-090905> <Disabling the CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true.> <2016-11-2 下午07时22分30秒 CST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true.> <2016-11-2 下午07时22分30秒 CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 23.7-b01 from Oracle Corporation.> <2016-11-2 下午07时22分31秒 CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 12.1.2.0.0 Fri Jun 7 15:16:15 PDT 2013 1530982 WLS_12.1.2.0.0_GENERIC_130607.1100> <2016-11-2 下午07时22分38秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.> <2016-11-2 下午07时22分38秒 CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool.> <2016-11-2 下午07时22分38秒 CST> <Notice> <LoggingService> <BEA-320400> <The log file D:\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms, such as Windows.> <2016-11-2 下午07时22分38秒 CST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to D:\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log00005. Log messages will continue to be logged in D:\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log.> <2016-11-2 下午07时22分38秒 CST> <Notice> <Log Management> <BEA-170019> <The server log file D:\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.> <2016-11-2 下午07时22分45秒 CST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.> <2016-11-2 下午07时22分45秒 CST> <Critical> <Security> <BEA-090402> <Authentication denied: Boot identity not valid. The user name or password or both from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.> <2016-11-2 下午07时22分45秒 CST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid. The user name or password or both from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted. weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid. The user name or password or both from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted. at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:964) at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1058) at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873) at weblogic.security.SecurityService.start(SecurityService.java:148) at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) Truncated. see log file for complete stacktrace Caused By: javax.security.auth.login.FailedLoginException: [Security:090304]Authentication Failed: User weblogic javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User weblogic denied at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:267) at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110) at java.security.AccessController.doPrivileged(Native Method) at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Truncated. see log file for complete stacktrace > <2016-11-2 下午07时22分45秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.> <2016-11-2 下午07时22分45秒 CST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.> <2016-11-2 下午07时22分45秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.> ``` 已尝试过在boot.properties文件中更改用户名跟密码,但还是不起作用

关于weblogic12数据源问题,困扰好多天了,求助!

我们有一个springMVC的项目,需要部署在weblogic12上,使用了JDK1.7,我在weblogic12上创建了一个一般数据源,数据库是oracle, US7ascII的编码集,数据库驱动选择了oracle's driver (thin) for service connections。在配置时测试数据源也没问题。但是项目开始运行的时候一个很简单的通过用户名查询数据库中的用户密码等信息的就出现问题。查出来的PO对象中所有本该是有内容的字段全都是空字符串或者null。拿其他同事的电脑进行测试也同样如此。但是此项目部署在weblogic11上,同样的数据源配置就没有问题。 不知道各位大神有没有碰到过这样的问题!在网上查了很久也查不到结果。跪求解答! PS.我想知道这个问题是怎么造成的,怎么解决,各位大神请不要回答让我换C3P0或者部署在weblogic11上等。老大会打死我的。。。

Spring 配置weblogic中的JNDI数据源,发现部分模块数据查询失败

配置了weblogic的数据源(经测试可用),在项目applicationContext.xml文件中做了如下修改: ``<bean id="defaultDataSource" class="org.springframework.jndi.JndiObjectFactoryBean"> <property name="jndiName" value="JNDI/Szzjj"></property> </bean> `` 启动项目后发现,有部分模块easyUI datagrid列表展示不出数据,但是可以保存添加数据,后台报错为: ``` org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL []; SQL state [99999]; error code [17104]; SQL statement to execute cannot be empty or null; nested exception is java.sql.SQLException: SQL statement to execute cannot be empty or null at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:84) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81) at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:649) at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:684) at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:711) at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:761) at org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate.query(NamedParameterJdbcTemplate.java:192) at cn.jasgroup.jasframework.dataaccess3.core.BaseNamedParameterJdbcTemplate.queryForList(BaseNamedParameterJdbcTemplate.java:284) at cn.jasgroup.jasframework.dataaccess.springhelper.JdbcDaoHelper.getPage(JdbcDaoHelper.java:533) at cn.jasgroup.jasframework.dataaccess.base.BaseJdbcDao.getPage(BaseJdbcDao.java:282) at cn.jasgroup.jasframework.engine.service.AbstractCommonDataService.getPage(AbstractCommonDataService.java:197) at cn.jasgroup.jasframework.engine.service.AbstractCommonDataService$$FastClassBySpringCGLIB$$6c27ab1d.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655) at cn.jasgroup.entmanagement.gasservicepoint.service.GasServicePointService$$EnhancerBySpringCGLIB$$6aae7027.getPage(<generated>) at cn.jasgroup.entmanagement.gasservicepoint.controller.GasServicePointController.getPage(GasServicePointController.java:245) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:220) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:134) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:116) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78) at cn.jasgroup.jasframework.security.base.SetCacheFilter.doFilter(SetCacheFilter.java:42) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78) at org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:151) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78) at cn.jasgroup.jasframework.dataaccess.filter.DataSourceFilter.doFilter(DataSourceFilter.java:46) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3706) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3672) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:328) at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197) at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203) at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71) at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2443) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2291) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2269) at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1705) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1665) at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:272) at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352) at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337) at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57) at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41) at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:652) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420) at weblogic.work.ExecuteThread.run(ExecuteThread.java:360) Caused by: java.sql.SQLException: SQL statement to execute cannot be empty or null at oracle.jdbc.driver.PhysicalConnection.prepareStatementInternal(PhysicalConnection.java:1642) at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:1620) at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:1547) at weblogic.jdbc.common.internal.ConnectionEnv.makeStatement(ConnectionEnv.java:2206) at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:1902) at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:1816) at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:1809) at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:658) at org.springframework.jdbc.core.PreparedStatementCreatorFactory$PreparedStatementCreatorImpl.createPreparedStatement(PreparedStatementCreatorFactory .java:238) at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:627) ... 71 more ``` ,各位大神有知道什么原因的吗?是缺少什么东西吗?用Tomcat的jndi测试没有问题,可以正常展示。

weblogic 配置数据源失败

weblogic 创建数据源,到“测试配置”页面面,不论点击“测试配置”、“上一步”、 “下一步”、“完成”、“取消”中哪个,都直接报错!如下图。望大神指点! ![图片说明](https://img-ask.csdn.net/upload/201509/06/1441523240_833392.png) ![图片说明](https://img-ask.csdn.net/upload/201509/06/1441523292_569182.png)

在tomcat上运行没有问题,在weblogic上运行就报下面的错,跪求大神帮忙

java.sql.SQLException: Statement cancelled, probably by transaction timing out at weblogic.jdbc.wrapper.Statement.postInvocationHandlerNoWrap(Statement.java:128) at weblogic.jdbc.wrapper.PreparedStatement.clearParameters(PreparedStatement.java:276) at com.east.check.dao.DataInfoCheckDaoImp.getReportCheckEntitys(DataInfoCheckDaoImp.java:85) at com.east.check.service.DataInfoCheckServiceImp.checkData(DataInfoCheckServiceImp.java:69) at com.east.check.action.DataInfoCheckAction.checkData(DataInfoCheckAction.java:61) 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.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270) at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:751) at javax.servlet.http.HttpServlet.service(HttpServlet.java:844) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79) at com.common.filter.LoginFilter.doFilter(LoginFilter.java:68) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79) at com.common.filter.ZhFilter.doFilter(ZhFilter.java:152) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3436) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57) at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572) at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311) at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

WebLogic Server 版本: 12.2.1.1.0下HttpURLConnection问题

weblogic下使用HttpURLConnection发起http请求存在两个问题: 1. 闲置几秒后第一次请求慢 2. 不断请求接口当次数达到一定程度也慢,次数可能是10、20左右。 ``` HttpURLConnection conn = (HttpURLConnection)httpUrl.openConnection(); -- 添加头 -- 添加参数 conn.connect(); BufferedReader in = null; in = new BufferedReader(new InputStreamReader(conn.getInputStream(), "UTF-8")); -- 上行代码是主要耗时地方,事实上请求的接口很快响应并返回数据了 StringBuilder sb = new StringBuilder(); String line; while((line = in.readLine()) != null) { sb.append(line); } in.close(); conn.disconnect(); ``` 关于头部header有尝试各种情况,不能解决问题。

weblogic启动报错,求大神解决

<WSEE:16>com.bea.core.repackaged.springframework.beans.factory.BeanCreationException: Error creating bean with name 'weblogic.wsee.jaxws.client.async.AsyncTransportProvider': Instantiation of bean failed; nested exception is com.bea.core.repackaged.springframework.beans.BeanInstantiationException: Could not instantiate bean class [weblogic.wsee.jaxws.client.async.AsyncTransportProvider]: No default constructor found; nested exception is java.lang.NoSuchMethodException: weblogic.wsee.jaxws.client.async.AsyncTransportProvider.<init>()<WSEEComponentContributor.loadUsingSpring:83> <2016-6-17 下午05时58分59秒 CST> <Error> <HTTP> <BEA-101216> <Servlet: "weblogic.wsee.jaxws.client.async.AsyncTransportProvider" failed to preload on startup in Web application: "ebank". javax.xml.ws.WebServiceException: javax.xml.ws.WebServiceException: java.lang.InstantiationException: weblogic.wsee.jaxws.client.async.AsyncTransportProvider at weblogic.wsee.jaxws.WLSInstanceResolver.getSingleton(WLSInstanceResolver.java:36) at weblogic.wsee.jaxws.WLSInstanceResolver.start(WLSInstanceResolver.java:55) at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.start(WLSInstanceResolver.java:82) at com.sun.xml.ws.server.InvokerTube.setEndpoint(InvokerTube.java:85) at weblogic.wsee.jaxws.EndpointAwareLateInitTube.postCreateEndpoint(EndpointAwareLateInitTube.java:48) Truncated. see log file for complete stacktrace Caused By: javax.xml.ws.WebServiceException: java.lang.InstantiationException: weblogic.wsee.jaxws.client.async.AsyncTransportProvider at weblogic.wsee.jaxws.WLSServletInstanceResolver.create(WLSServletInstanceResolver.java:37) at weblogic.wsee.jaxws.WLSInstanceResolver.getSingleton(WLSInstanceResolver.java:34) at weblogic.wsee.jaxws.WLSInstanceResolver.start(WLSInstanceResolver.java:55) at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.start(WLSInstanceResolver.java:82) at com.sun.xml.ws.server.InvokerTube.setEndpoint(InvokerTube.java:85) Truncated. see log file for complete stacktrace Caused By: java.lang.InstantiationException: weblogic.wsee.jaxws.client.async.AsyncTransportProvider at java.lang.Class.newInstance0(Class.java:342) at java.lang.Class.newInstance(Class.java:310) at weblogic.wsee.jaxws.injection.WSEEComponentContributor.newInstance(WSEEComponentContributor.java:54) at weblogic.wsee.jaxws.injection.WSEEComponentContributor.newInstance(WSEEComponentContributor.java:42) at weblogic.wsee.jaxws.WLSServletInstanceResolver.create(WLSServletInstanceResolver.java:35) Truncated. see log file for complete stacktrace > 2016-06-17 17:58:59,322 [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' [com.sefc.sysframe.servlet.InitializeAppListener]-[INFO] com.sefc.sysframe.servlet.InitializeAppListener.contextDestroyed(InitializeAppListener.java:256) 电子商业汇票接口系统停止成功。 <2016-6-17 下午05时58分59秒 CST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application '_appsdir_ebank_dir'. weblogic.application.ModuleException: [HTTP:101216]Servlet: "weblogic.wsee.jaxws.client.async.AsyncTransportProvider" failed to preload on startup in Web application: "ebank". javax.xml.ws.WebServiceException: javax.xml.ws.WebServiceException: java.lang.InstantiationException: weblogic.wsee.jaxws.client.async.AsyncTransportProvider at weblogic.wsee.jaxws.WLSInstanceResolver.getSingleton(WLSInstanceResolver.java:36) at weblogic.wsee.jaxws.WLSInstanceResolver.start(WLSInstanceResolver.java:55) at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.start(WLSInstanceResolver.java:82) at com.sun.xml.ws.server.InvokerTube.setEndpoint(InvokerTube.java:85) at weblogic.wsee.jaxws.EndpointAwareLateInitTube.postCreateEndpoint(EndpointAwareLateInitTube.java:48) at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:158) at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:68) at weblogic.wsee.jaxws.JAXWSDeployedServlet.init(JAXWSDeployedServlet.java:54) at javax.servlet.GenericServlet.init(GenericServlet.java:241) at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64) at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1981) at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1955) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212) at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:44) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184) at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361) at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51) at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200) at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30) at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240) at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169) at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123) at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180) at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96) at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

Weblogic启动报ServletException的问题

weblogic部署项目时报错: ``` <2019-1-13 下午06时37分20秒 CST> <Error> <HTTP> <BEA-101216> <Servlet: "initServlet" failed to preload on startup in Web application: "1web.war". javax.servlet.ServletException at com.amerisia.ebills.commons.web.InitServlet.getEJB(InitServlet.java:643) at com.amerisia.ebills.commons.web.InitServlet.initWorklist(InitServlet.java:157) at com.amerisia.ebills.commons.web.InitServlet.init(InitServlet.java:55) at javax.servlet.GenericServlet.init(GenericServlet.java:241) at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283) Truncated. see log file for complete stacktrace > ``` web.xml部分配置: ``` <servlet> <servlet-name>initServlet</servlet-name> <servlet-class>com.amerisia.ebills.commons.web.InitServlet</servlet-class> <init-param> <param-name>debug</param-name> <param-value>2</param-value> </init-param> <load-on-startup>0</load-on-startup> </servlet> ```

今天我们项目weblogic突然死掉了,各位帮忙诊断下!

各位大虾: 今天我们的项目weblogic突然死掉,这是一个地级市的协同办公项目,因为使用的用户较多,死掉之后用户无法及时使用,这给我们造成了很大的麻烦,甲方要求不得在出现第二次,项目组苦思冥想都不知道这是什么原因,各种搜索资源都已尝试,仍未找到缘由,特上来请教各位大侠 项目环境: oracle 10g; weblogic 10; windows 2003(目前是试运行,后面可能会更换成 redhat or solaris); 然后在附上weblgoic的堆栈信息,如下: [code="java"] <2011-6-14 上午08时36分48秒 CST> <Error> <HTTP> <BEA-101020> <[weblogic.servlet. internal.WebAppServletContext@180b6f2 - appName: 'wzoa', name: 'wzoa', context-p ath: '', spec-version: 'null'] Servlet failed with Exception java.lang.NullPointerException at com.gw.util.PageFilter.doFilter(PageFilter.java:24) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:42) at com.gw.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:79) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio n.run(WebAppServletContext.java:3496) Truncated. see log file for complete stacktrace > at java.util.zip.Inflater.ensureOpen(Inflater.java:332) at java.util.zip.Inflater.inflateBytes(Inflater.java:346) at java.util.zip.Inflater.inflate(Inflater.java:216) at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:135) at java.io.FilterInputStream.read(FilterInputStream.java:116) at java.io.FilterInputStream.read(FilterInputStream.java:90) at java.util.Properties$LineReader.readLine(Properties.java:418) at java.util.Properties.load0(Properties.java:337) at java.util.Properties.load(Properties.java:325) at org.extremecomponents.table.core.TableProperties.init(TableProperties .java:40) at org.extremecomponents.table.limit.TableLimitFactory.<init>(TableLimit Factory.java:69) at org.extremecomponents.table.limit.TableLimitFactory.<init>(TableLimit Factory.java:46) at org.extremecomponents.table.limit.TableLimitFactory.<init>(TableLimit Factory.java:39) at com.gw.util.PageLimit.<init>(PageLimit.java:50) at com.gw.util.PageLimit.<init>(PageLimit.java:40) at com.gw.util.PageFilter.setPageLimit(PageFilter.java:49) at com.gw.util.PageFilter.doFilter(PageFilter.java:24) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:42) at com.gw.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:79) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio n.run(WebAppServletContext.java:3496) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate dSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS ervletContext.java:2180) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC ontext.java:2086) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j ava:1406) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) java.lang.NullPointerException at java.util.zip.Inflater.ensureOpen(Inflater.java:332) at java.util.zip.Inflater.inflateBytes(Inflater.java:346) at java.util.zip.Inflater.inflate(Inflater.java:216) at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:135) at java.io.FilterInputStream.read(FilterInputStream.java:116) at java.io.FilterInputStream.read(FilterInputStream.java:90) at java.util.Properties$LineReader.readLine(Properties.java:418) at java.util.Properties.load0(Properties.java:337) at java.util.Properties.load(Properties.java:325) at org.extremecomponents.table.core.TableProperties.init(TableProperties .java:40) at org.extremecomponents.table.limit.TableLimitFactory.<init>(TableLimit Factory.java:69) at org.extremecomponents.table.limit.TableLimitFactory.<init>(TableLimit Factory.java:46) at org.extremecomponents.table.limit.TableLimitFactory.<init>(TableLimit Factory.java:39) <2011-6-14 上午08时36分48秒 CST> <Error> <HTTP> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@180b6f2 - appName: 'wzoa', name: ' wzoa', context-path: '', spec-version: 'null'] Servlet failed with Exception java.lang.NullPointerException at com.gw.util.PageFilter.doFilter(PageFilter.java:24) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:42) at com.gw.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:79) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio n.run(WebAppServletContext.java:3496) Truncated. see log file for complete stacktrace > at com.gw.util.PageLimit.<init>(PageLimit.java:50) at com.gw.util.PageLimit.<init>(PageLimit.java:40) at com.gw.util.PageFilter.setPageLimit(PageFilter.java:49) at com.gw.util.PageFilter.doFilter(PageFilter.java:24) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:42) at com.gw.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:79) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio n.run(WebAppServletContext.java:3496) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate dSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS ervletContext.java:2180) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC ontext.java:2086) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j ava:1406) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) java.lang.NullPointerException at java.util.zip.Inflater.ensureOpen(Inflater.java:332)<2011-6-14 上午08 时36分48秒 CST> <Error> <HTTP> <BEA-101020> <[weblogic.servlet.internal.WebAppSe rvletContext@180b6f2 - appName: 'wzoa', name: 'wzoa', context-path: '', spec-ver sion: 'null'] Servlet failed with Exception java.lang.NullPointerException at com.gw.util.PageFilter.doFilter(PageFilter.java:24) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:42) at com.gw.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:79) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja va:42) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio n.run(WebAppServletContext.java:3496) Truncated. see log file for complete stacktrace > at java.util.zip.Inflater.inflateBytes(Inflater.java:346) at java.util.zip.Inflater.inflate(Inflater.java:216) at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:135) at java.io.FilterInputStream.read(FilterInputStream.java:116) at java.io.FilterInputStream.read(FilterInputStream.java:90) at java.util.Properties$LineReader.readLine(Properties.java:418)[JRockit ] ERROR: The JVM has crashed. Writing crash information to E:\bea\wlserver_10.3\ samples\domains\wl_server\jrockit.3684.dump. ===== BEGIN DUMP ============================================================= JRockit dump produced after 0 days, 12:47:25 on Tue Jun 14 08:37:19 2011 ********************************************************** * If you see this dump, please go to * * http://edocs.bea.com/jrockit/go2troubleshooting.html * * for troubleshooting information. * ********************************************************** Additional information is available in: E:\bea\wlserver_10.3\samples\domains\wl_server\jrockit.3684.dump E:\bea\wlserver_10.3\samples\domains\wl_server\jrockit.3684.mdmp Error Message: Unspecified error [52] Exception Rec: EXCEPTION_ACCESS_VIOLATION (c0000005) at 0x0046A7B6 - memory at 0 x00000000 could not be written. Minidump : Wrote mdmp. Size is 452MB SafeDllMode : -1 Fatal Error : As of this writing noone should EVER use native stack unwind exce pt myself. Version : BEA JRockit(R) R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows -ia32 GC Strategy : Mode: throughput. Currently using strategy: genparpar GC Status : OC is not running. Last finished OC was OC#303. : YC is not running. Last finished YC was YC#349. OC History : Strategy genparpar was used for OC#272 to OC#278. : Strategy singleparpar was used for OC#279. : Strategy genparpar was used for OC#280 to OC#284. : Strategy singleparpar was used for OC#285. : Strategy genparpar was used for OC#286 to OC#303. YC History : Ran 1 YCs before OC#299. : Ran 1 YCs before OC#300. : Ran 1 YCs before OC#301. : Ran 1 YCs before OC#302. : Ran 1 YCs before OC#303. : Ran 2 YCs since last OC. YC Promotion : Last YC successfully promoted all objects Heap : 0x00C00000 - 0x60C00000 (Size: 1536 MB) Compaction : 0x0CC00008 - 0x12C00000 (Current compaction type: internal) Stopping PointBase server... PointBase server stopped. [/code]

java.lang.ClassCastException: java.math.BigInteger cannot be cast to java.lang.I

各位大哥,小弟初次使用hibernate抛出了如上异常不知道该如何处理,主要代码如下: Session session = null; try{ session = HibernateUtil.getSessionFactory().openSession(); List<Integer> l = session.createSQLQuery("select count(*) from person").list(); int t = l.get(0).intValue(); System.out.println(t); }catch(Exception e){ e.printStackTrace(); }finally{ session.close(); } 我想执行上面的语句来得到数据库中数据的条数,但是不知道有什么好的方法,所以就想用上面的代码试试,结果出现了这个异常,不知道各位有什么好的方法可以告诉小弟一声,谢谢!

Linux下部署SSH项目, 启动Weblogic出现异常如下,window下是没问题的

严重: Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchFieldError: NULL at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527) CentOS 6.4 Weblogic 12c Oracle10g

Cannot inherit from final class

有个方法,main方法调用没有问题,嵌入到struts项目中就报错了。 2015/03/26 10:48:02,137 [org.apache.struts2.dispatcher.Dispatcher]-[ERROR] Exception occurred during processing request: null java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:450) at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:289) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:252) at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:256) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:167) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265) at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:239) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:239) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:191) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:73) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:91) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:252) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:161) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:193) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:189) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at com.jp2p.action.loginJudge.intercept(loginJudge.java:65) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54) at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:563) at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:879) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:617) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1774) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.VerifyError: Cannot inherit from final class at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2854) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1159) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at org.apache.http.impl.client.DefaultHttpClient.createHttpParams(DefaultHttpClient.java:161) at org.apache.http.impl.client.AbstractHttpClient.getParams(AbstractHttpClient.java:426) at com.jp2p.yibao.util.httpclient.HttpClient4Util.<init>(HttpClient4Util.java:88) at com.jp2p.yibao.util.common.YJPayUtil.payAPIRequest(YJPayUtil.java:60) at com.jp2p.util.payUtil.PayAPIServiceImpl.bindList(PayAPIServiceImpl.java:55) at com.jp2p.wechatAction.yibaoPayAction.bankPay(yibaoPayAction.java:82) ... 67 more 错误地方为:httpclient.getParams().setParameter( CoreConnectionPNames.SO_TIMEOUT, timeout);

项目正常启动,运行报错java.lang.IncompatibleClassChangeError

``` 2017-11-20 13:10:06.661 DEBUG 14200 --- [nio-8080-exec-1] org.mybatis.spring.SqlSessionUtils : Creating a new SqlSession 2017-11-20 13:10:06.674 DEBUG 14200 --- [nio-8080-exec-1] org.mybatis.spring.SqlSessionUtils : SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@22394c1] was not registered for synchronization because synchronization is not active 2017-11-20 13:10:06.712 DEBUG 14200 --- [nio-8080-exec-1] org.mybatis.spring.SqlSessionUtils : Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@22394c1] 2017-11-20 13:10:06.718 ERROR 14200 --- [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Handler dispatch failed; nested exception is java.lang.IncompatibleClassChangeError: Implementing class] with root cause java.lang.IncompatibleClassChangeError: Implementing class ```

Oracle中no_data_found问题

请看如下代码: create or replace procedure pro_test as v1 varchar2(100); begin select nvl(max(name), -1) into v1 from t1 where 1=2; --select nvl(name, -1) into v1 from t1 where 1=2; dbms_output.put_line('test:'||v1); end; 结果显示为:test:-1 但是运行如下代码: create or replace procedure pro_test as v1 varchar2(100); begin --select nvl(max(name), -1) into v1 from t1 where 1=2; select nvl(name, -1) into v1 from t1 where 1=2; dbms_output.put_line('test:'||v1); end; 会报错,错误信息如下: ![图片说明](https://img-ask.csdn.net/upload/201711/23/1511413416_548118.png) 为什么加了一个max()和不加max(),结果会不一样?select into执行为空时,max()函数 在其中做了些什么?

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

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

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

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

程序员请照顾好自己,周末病魔差点一套带走我。

程序员在一个周末的时间,得了重病,差点当场去世,还好及时挽救回来了。

ArrayList源码分析(入门篇)

ArrayList源码分析 前言: 写这篇博客的主要原因是,在我上一次参加千牵科技Java实习生面试时,有被面试官问到ArrayList为什么查找的速度较快,插入和删除的速度较慢?当时我回答得不好,很大的一部分原因是因为我没有阅读过ArrayList源码,虽然最后收到Offer了,但我拒绝了,打算寒假学得再深入些再广泛些,下学期开学后再去投递其他更好的公司。为了更加深入理解ArrayList,也为

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

数据结构与算法思维导图

String s = new String(" a ") 到底产生几个对象?

老生常谈的一个梗,到2020了还在争论,你们一天天的,哎哎哎,我不是针对你一个,我是说在座的各位都是人才! 上图红色的这3个箭头,对于通过new产生一个字符串(”宜春”)时,会先去常量池中查找是否已经有了”宜春”对象,如果没有则在常量池中创建一个此字符串对象,然后堆中再创建一个常量池中此”宜春”对象的拷贝对象。 也就是说准确答案是产生了一个或两个对象,如果常量池中原来没有 ”宜春” ,就是两个。...

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

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

和黑客斗争的 6 天!

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

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

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

上班一个月,后悔当初着急入职的选择了

最近有个老铁,告诉我说,上班一个月,后悔当初着急入职现在公司了。他之前在美图做手机研发,今年美图那边今年也有一波组织优化调整,他是其中一个,在协商离职后,当时捉急找工作上班,因为有房贷供着,不能没有收入来源。所以匆忙选了一家公司,实际上是一个大型外包公司,主要派遣给其他手机厂商做外包项目。**当时承诺待遇还不错,所以就立马入职去上班了。但是后面入职后,发现薪酬待遇这块并不是HR所说那样,那个HR自...

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

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

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

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

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

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

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

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

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

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

玩转springboot启动banner定义所得

最近接手了一个springboot项目,不是不熟悉这个框架,启动时打印的信息吸引了我。 这不是我熟悉的常用springboot的打印信息啊,我打开自己的项目: 还真是的,不用默认的感觉也挺高大上的。一时兴起,就去研究了一下源代码,还正是有些收获,稍后我会总结一下。正常情况下做为一个老程序员,是不会对这种小儿科感兴趣的,不就是一个控制台打印嘛。哈哈! 于是出于最初的好奇,研究了项目的源代码。看到

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

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

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

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

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

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

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

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

当HR压你价,说你只值7K,你该怎么回答?

当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...

面试:第十六章:Java中级开发(16k)

HashMap底层实现原理,红黑树,B+树,B树的结构原理 Spring的AOP和IOC是什么?它们常见的使用场景有哪些?Spring事务,事务的属性,传播行为,数据库隔离级别 Spring和SpringMVC,MyBatis以及SpringBoot的注解分别有哪些?SpringMVC的工作原理,SpringBoot框架的优点,MyBatis框架的优点 SpringCould组件有哪些,他们...

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

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

终于懂了TCP和UDP协议区别

终于懂了TCP和UDP协议区别

你打算用Java 8一辈子都不打算升级到Java 14,真香

我们程序员应该抱着尝鲜、猎奇的心态,否则就容易固步自封,技术停滞不前。

无代码时代来临,程序员如何保住饭碗?

编程语言层出不穷,从最初的机器语言到如今2500种以上的高级语言,程序员们大呼“学到头秃”。程序员一边面临编程语言不断推陈出新,一边面临由于许多代码已存在,程序员编写新应用程序时存在重复“搬砖”的现象。 无代码/低代码编程应运而生。无代码/低代码是一种创建应用的方法,它可以让开发者使用最少的编码知识来快速开发应用程序。开发者通过图形界面中,可视化建模来组装和配置应用程序。这样一来,开发者直...

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

大三实习生,字节跳动面经分享,已拿Offer

说实话,自己的算法,我一个不会,太难了吧

程序员垃圾简历长什么样?

已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...

《经典算法案例》01-08:如何使用质数设计扫雷(Minesweeper)游戏

我们都玩过Windows操作系统中的经典游戏扫雷(Minesweeper),如果把质数当作一颗雷,那么,表格中红色的数字哪些是雷(质数)?您能找出多少个呢?文中用列表的方式罗列了10000以内的自然数、质数(素数),6的倍数等,方便大家观察质数的分布规律及特性,以便对算法求解有指导意义。另外,判断质数是初学算法,理解算法重要性的一个非常好的案例。

《Oracle Java SE编程自学与面试指南》最佳学习路线图(2020最新版)

正确选择比瞎努力更重要!

Java岗开发3年,公司临时抽查算法,离职后这几题我记一辈子

前几天我们公司做了一件蠢事,非常非常愚蠢的事情。我原以为从学校出来之后,除了找工作有测试外,不会有任何与考试有关的事儿。 但是,天有不测风云,公司技术总监、人事总监两位大佬突然降临到我们事业线,叫上我老大,给我们组织了一场别开生面的“考试”。 那是一个风和日丽的下午,我翘着二郎腿,左手端着一杯卡布奇诺,右手抓着我的罗技鼠标,滚动着轮轴,穿梭在头条热点之间。 “淡黄的长裙~蓬松的头发...

立即提问
相关内容推荐