在启动应用程序时获取IBM Websphere服务器中的数据源的javax.naming.NameNotFoundException

时间:2017-04-24 19:30:04

标签: spring websphere websphere-liberty websphere-8

我在启动IBM Websphere服务器时获取数据源的javax.naming.NameNotFoundException。您可以告诉我为什么会出现此错误。

错误:

import React from 'react';
import NotFound from './NotFound';

const ViewProfile = ( {currentUser} ) => {
  //console.log(currentUser);

  return (currentUser) ? (
    <p>{ currentUser.fname }</p>
    <p>{ currentUser.lname }</p>
    <p>{ currentUser.email }</p>
  ) : <NotFound />;  
};

ViewProfile.propTypes = {
  currentUser: React.PropTypes.object,
};

export default ViewProfile;

0 个答案:

没有答案